ARK-Builders / ARK-Navigator

Android app for navigation through your data
MIT License
15 stars 15 forks source link

Automatically extract Date tags #175

Open kirillt opened 2 years ago

kirillt commented 2 years ago

It would be convenient to label automatically resources according to their "creation date". If a resource type carries date-metadata, it must be extracted. E.g. for images, we should extract date from EXIF-metadata. For the rest of resources, "first discovered" attribute must be used (see ARK-Builders/arklib#66).

Date must be split into orthogonal tags, e.g. "Jan 3, 2022" would result in tags "year:2022, month:january, day:3, day:monday". All auto-derived tags (we might have other kinds in the future, e.g. geo-based) must be displayed distinctly from manual tags.

This feature should be configurable (ideally, on per-folder basis, but in the beginning just in Settings screen ARK-Builders/ARK-Navigator#77).
A user should be able to finely-tune which tags she needs and which not, e.g. user might be interested only in months or years and not days of week.

kirillt commented 2 years ago

Similar to ARK-Builders/ark-components-android#22

kirillt commented 2 years ago

"Created" date can be used for auto-derived date tags, the same as "First discovered" date ARK-Builders/arklib#67

kirillt commented 2 years ago

Resource Grid, when sorted by date, can separate groups of resource by tags as well, e.g.:

[today]
resource 1, resource 2

[yesterday]
resource 3, resource 4, resource 5

[this week]
... 5 other resources ...

[this month]
...
[last month]
...
[this year]
...
etc.