Find a way to annotate media-objects within a distribusi. #2

Closed
opened 7 months ago by crunk · 6 comments
crunk commented 7 months ago
Owner

distribusi-verse works with a flask blueprint for a folder of static pages.
In the end all distribusis are static pages and only the management of the users and the uploading of new material is dynamic.

stash_page = Blueprint("stash_page", __name__, static_folder="stash")
APP.register_blueprint(stash_page)

This means, you can't really annotate images in the interface itself. We could add some js to every page that allows you to click an image and send a text to an endpoint, describing the image. But how will this know that you are logged in?

most straightforward solution would be to also make all distribusis dynamic...
but that feels like overkill

distribusi-verse works with a flask blueprint for a folder of static pages. In the end all distribusis are static pages and only the management of the users and the uploading of new material is dynamic. ``` stash_page = Blueprint("stash_page", __name__, static_folder="stash") APP.register_blueprint(stash_page) ``` This means, you can't really annotate images in the interface itself. We could add some js to every page that allows you to click an image and send a text to an endpoint, describing the image. But how will this know that you are logged in? most straightforward solution would be to also make all distribusis dynamic... but that feels like overkill
Poster
Owner

I am thinking an edit mode. tree structure view of all distribusis. so the view to work with the archive and the view to just see material is not the same.

I am thinking an edit mode. tree structure view of all distribusis. so the view to work with the archive and the view to just see material is not the same.
Poster
Owner

No complex tree, just flatten the folders. Single distribusi with a list of files with paths.
Then a form where you can annotate the media files.

the descriptions of media files become txt files added to the distribusi. So they get rendered as <p> tags and the archive retains its database-less state.

No complex tree, just flatten the folders. Single distribusi with a list of files with paths. Then a form where you can annotate the media files. the descriptions of media files become txt files added to the distribusi. So they get rendered as `<p>` tags and the archive retains its database-less state.
crunk added the
work work work
label 6 months ago
Poster
Owner

currently still missing is running the file_crawling that makes db records for all files, after distribusi is launched live.

currently still missing is running the file_crawling that makes db records for all files, after distribusi is launched live.
Poster
Owner

Need this later

        file = db.session.query(distribusifile).filter_by(path=path).first()
        if file is not None:
            break
Need this later ``` file = db.session.query(distribusifile).filter_by(path=path).first() if file is not None: break ```
Poster
Owner

There needs to be a good decision on alttext -> functional.
description -> figcaption.

There needs to be a good decision on alttext -> functional. description -> figcaption.
Poster
Owner

description -> produces a figcaption.
alltext should be functional text, that adds an alt attribute to the img tag.

search tags are not seen in the archive itself because they only function for the search engine of distrubsi-verse

description -> produces a figcaption. alltext should be functional text, that adds an alt attribute to the img tag. search tags are not seen in the archive itself because they only function for the search engine of distrubsi-verse
crunk closed this issue 5 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.