projectcaluma / ember-alexandria Goto Github PK
View Code? Open in Web Editor NEWThe frontend for the alexandria document management service
License: GNU Affero General Public License v3.0
The frontend for the alexandria document management service
License: GNU Affero General Public License v3.0
npm WARN publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm WARN publish errors corrected:
npm WARN publish "repository" was changed from a string to an object
npm WARN publish "repository.url" was normalized to "git+https://github.com/projectcaluma/ember-alexandria.git"
Since emeis has another enpoint, we need to create a custom store service. This is available as blueprint in emeis and would be nice in alexandria too.
currently only reproduced on chrome
The clicking on card refreshing prevents the context menu from opening, as well as preventing double clicks.
A rather problematic bug
This only seems to happen with the local development environment.
This has been fixed: emberjs/ember.js#18981 (comment)
Currently there is no way to change the category of a document after it has been uploaded.
2 ways of changing the category should be implemented.
The drag and drop can be implemented natively or through packages.
Doing it nicely without a package seems like quite a lot of effort.
There are some popular packages available, but not quite sure if they are a good choice:
Very solid, but no longer maintained
https://www.npmjs.com/package/dragula
Low level, somewhat maintained
https://www.npmjs.com/package/@shopify/draggable
Similar to above
https://www.npmjs.com/package/interactjs
uk-sortable doesnt seem fit for this kind of job
Just asking for some opinion as Im not sure what would be a good choice for the drag and drop.
After selecting multiple and deleting the sidebar is not closed. The document query parameter persists and causes an error, because the document no longer exists.
The frontend should know when a download url is expired (by parsing the expiry query parameter).
If its expired it can try to refetch a new download url. Otherwise the user would have to reload the page/ do something to refresh the document list.
Categories should be sorted by a custom order the admin defines
Delete selected documents when the delete key is pressed.
After replacing a document, the download options are missing a refresh, i.e. the old, replaced document is downloaded.
The side panel as it is today works relatively well for single document selection. However, for the selection of multiple documents there are some problems. It also produces some UX problems. It is proposed, that the side-panel should be refactored into its own component that is decoupled in its state from the document selection.
These are imo the main issues with the side panel today:
document
param. If the document
or documents
param is reused for multiple selection this would mean that closing the side bar would deselect all documents. This is pretty poor from a UX point of view.Decouple the side-bar from the document
query param and make it its own independent UI component.
This would have the advantages that:
side-panel=true
I have started to implement this with a toggle button:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.