Comments (6)
Yes sure, i was considering this as well!
from photos.
Simple way to start would be month dividers:
- January 2020
- December 2019
- November 2019
- etc.
The month dividers are headings, and the year can be shown with grey maxcontrast color to not take so much visibility.
The dividers should be sticky when scrolled down. The container should not have any background color so it simply overlays the images.
from photos.
I tried to implement this but failed because it needs a totally different data structure from what we have now.
@skjnldsv if you have hints on how to acheive this, would be nice
from photos.
@Mikescops for reference, can you explain what the current data structure is, and what we would ideally need?
from photos.
For now we store what we get from the DAV in a simple array [ ].
It's nice when you have a single sorted list but not when you need to group the entries in it.
For instance i tried this structure:
{
"2019-12" : [ img1, img2 ],
"2020-01" : [ img3]
}
It could work well (i tried it), but we need to change lot of stuff, including the way we load more files when reaching the bottom.
from photos.
@Mikescops there is absolutely no rush for it now.
We're also in feature freeze for 18, so thi sis scheduled for the next release anyway :)
We'll talk in person about how to properly implement this if you will
from photos.
Related Issues (20)
- Failed to update nextcloud/ocp package on branch stable27
- Allow sorting & reordering of pictures in galleries
- Allow adding to gallery from folder view HOT 1
- Failed to update nextcloud/ocp package on branch stable27
- Have a default album with all photos that doesn't already belong to an album
- Collaborative Users can't share (reshare) Collaborative Photo Albums HOT 1
- Failed to update nextcloud/ocp package on branch stable27
- Failed to update nextcloud/ocp package on branch stable27
- Empty boxes in tiled viewer HOT 3
- [Bug]: Unable to access "ALBAUM" in Nextcloud 29.0.x HOT 12
- Photo can not be uploaded in Newly created albaum HOT 1
- Newly uploaded photos are not showing up in Photos HOT 2
- Content Security Policy issues HOT 3
- Failed to update nextcloud/ocp package on branch stable27
- Ability to group photos by day/month/year
- Failed to update nextcloud/ocp package on branch stable27
- [Bug]: Photos (web) does not display the latest media files scanned by OCC HOT 1
- Failed to update nextcloud/ocp package on branch stable27
- Photo Previews dissapear since 29.0.2 HOT 1
- All media show pictures, some dates pictures are missing. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photos.