Commit Graph

231 Commits

Author SHA1 Message Date
Hugo Sales 7320c6834f
[UI][Attachment] Use Attachment methods to get the proper URL, rather than crafting it in a template 2021-08-18 17:35:09 +01:00
Diogo Peralta Cordeiro e76e3b710b
Remove weird empty template 2021-08-17 21:48:37 +01:00
Eliseu Amaro 022a9476cc [TWIG][CSS] Left and right panels accessibility improvements. Tabindex is now properly set up. When panels have the attribute open but aren't focused (keyboard navigation out of panel, into main content) they aren't displayed anymore. 2021-08-17 21:43:58 +01:00
Eliseu Amaro 44593f2ab4
[TWIG][CSS] More consistent classes. Checkbox styling done. Register and Login pages now done. 2021-08-17 20:52:22 +01:00
Diogo Peralta Cordeiro a43f1a641a
[TWIG] Add Links representation to notes 2021-08-14 17:04:58 +01:00
Diogo Peralta Cordeiro 9781ddc8e0
[AttachmentToNote][Attachment] Add title getter to Attachment 2021-08-14 17:00:52 +01:00
Eliseu Amaro c86cac2095
[CSS][Assets] Minified header icons. Reverted footer links position due to Firefox's corageous interpretation of a fixed element's position. 2021-08-14 17:00:49 +01:00
Eliseu Amaro c14718e8dd
[Favourite][TWIG][CSS] Favourite shows alt-text and properly sets colours. Titles translated on the right panel. 2021-08-14 17:00:48 +01:00
Diogo Peralta Cordeiro 32ad5dbd74
[ENTITY] Split Attachment in various new entities
Remove Attachment Scope
Fixed some minor bugs

Scope will be implemented later in v3. It doesn't make sense to have
the scope handling being per attachment. Different actors can post
the same attachment with different scopes. The attachment controller
will assume the highest level of scope applied to the attachment and
the rest will be handled at the note level.

Motivation:
* Remove title from attachment, as it's part of the relation between attachment and note.
* Remove actor from attachment, many actors may publish the same attachment.
* Remove is_local from attachment,  as it's part of the relation between attachment and note.
* Remove remote_url from attachment, different urls can return the same attachment.

Addition:
* Attachment now has a lives attribute,  it's a reference counter with a nicer name
* GSActorToAttachment
* GSActorToRemoteURL
* RemoteURL
* RemoteURLToNote
* RemoteURLToAttachment
* AttachmentToNote now has a title attribute
2021-08-14 17:00:46 +01:00
Eliseu Amaro 7308e66981
[Favourite][TWIG][CSS] Favourite now works. 2021-08-14 16:12:54 +01:00
Eliseu Amaro 2590ea7b67
[CSS] Overall typography resizing to provide proper text hierarchy. Radio buttons polish, notes author box is now smaller. Better organization of CSS rules according to their filename and thus, their aim. 2021-08-14 16:12:53 +01:00
Eliseu Amaro 96abf53e22
[TWIG][CSS] Buttons are now the correct size in all contexts. Right panel create a notice section re-structure. 2021-08-14 16:12:52 +01:00
Eliseu Amaro b7d205465f
[TWIG][CSS] Feedback provided to active page. Removed top accent border on notes. 2021-08-14 16:12:52 +01:00
Eliseu Amaro d19c990acf
[FAQ][CSS] All FAQ pages stylized, minor structure changes throughout. 2021-08-14 16:12:52 +01:00
Eliseu Amaro 38abbc14b9
[TWIG][CSS] Left panel text hierarchy fix (no <hr> element between timeline navigation and its items). Default CSS fixes for buttons and input file selectors. 2021-08-14 16:12:51 +01:00
Eliseu Amaro 0eb9575534
[CSS] Input file elements polish. It should resize properly and provide feedback when selected (not a thing in Firefox ESR yet). 2021-08-14 16:12:51 +01:00
Eliseu Amaro 5236278f45 [CSS] Mesh gradient works as intended with no banding. 2021-08-05 13:01:31 +01:00
Hugo Sales 56481c8289
[CORE] Add passowrd reset and forgot password functionality 2021-08-03 19:22:54 +00:00
Hugo Sales 75af2232dc
[UI] Add TODO annotation to login template, since it's possible to login using email, so the fonrm field names should be updated 2021-08-03 19:21:31 +00:00
Eliseu Amaro 903e6b33ff [RIGHT][CSS] Right panel now shows an intuitive icon for other note options available. 2021-08-03 19:02:39 +01:00
Eliseu Amaro 0a0ead3081 [TWIG][CSS] Overall CSS optimizations. Image gradients are now used, 64x64 px. 2021-08-03 19:02:39 +01:00
Eliseu Amaro efeb4b4ffe [SETTINGS][PLUGIN][CONTROLLER] Populate profile tabs event added. Settings base template populated with such event for plugins and components.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:39 +01:00
Eliseu Amaro 780d341939 [SETTINGS][ROUTES][CONTROLLER] Settings overhaul, refactoring to accommodate new global settings view. WIP, component settings aren't shown at the moment.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:39 +01:00
Eliseu Amaro 5e012c39ab [SETTINGS][TWIG][CSS] Settings WIP. Form polished, dropdowns need styling.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:38 +01:00
Eliseu Amaro 0e7c657301 [TWIG][SETTINGS] WIP. Settings navigation early sketch.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:38 +01:00
Eliseu Amaro 3cd33fb83a [TWIG][CSS] Panels are fixed and base content acts accordingly on all sizes.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-08-03 19:02:38 +01:00
Eliseu Amaro cfd771283a
[TWIG][CSS] Final fix for panels, resizing works as intended, content is wrapped when no space is available. Simpler rules throughout.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:45 +01:00
Eliseu Amaro 88eea554fc
[TWIG][CSS] Panels weren't "flexing" properly, in smaller sizes the right panel form would break.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:45 +01:00
Eliseu Amaro 5c8735ebea
[TWIG][CSS] Fixed right panel buttons, fix issue where the form was invalid on send.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:44 +01:00
Eliseu Amaro d2a7281a4d
[TWIG][CSS] Right panel WIP. Create a note now looks better, need to style in some way the default user agent buttons without removing features (e.g. current file chosen).
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:44 +01:00
Eliseu Amaro 0ce686d8bb
[TWIG][CSS] Left panel profile section done.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:44 +01:00
Eliseu Amaro b4bf720b06
[TWIG][CSS] Register and Login styling done.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:44 +01:00
Eliseu Amaro a9d710f189
[CSS][TWIG] Left panel HTML nesting to better aid screen readers.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:43 +01:00
Eliseu Amaro 4b095961d8
[CSS][TWIG] Panels icons are now hidden on desktop view to stop possible inconsistencies on window resizing. Left Panel polish.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:43 +01:00
Eliseu Amaro 14ecf913bf
[CSS][TWIG] Details element is now shown by default on larger screens, and hidden on smaller screens.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:42 +01:00
Eliseu Amaro 2b4bf6c31f
[CSS][TWIG] Timeline navigation is now a part of the left panel, this way more items could be displayed at a time. Left panel styling WIP.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:42 +01:00
Eliseu Amaro 6437e68132
[TWIG] Microformats added to timeline, note's view and media. Should be backwards compatiblr as well.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:42 +01:00
Eliseu Amaro 37a2db3706
[CSS] Fixed accessibility issues with header and panel elements. Left, instance and right elements are now properly ordered when focused.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:41 +01:00
Eliseu Amaro 593d5bf96e
[TWIG][CSS] Accessibility improvements, all general links provide proper feedback now. Base theme CSS progress, page now looks more as it should. Panels WIP. 2021-07-28 11:52:40 +01:00
Eliseu Amaro d6cf812707
[TWIG][CSS][ICONS] New profile and notice creation panel, alternative text set correctly for header icons. WIP in base styling and panels. 2021-07-28 11:52:40 +01:00
Eliseu Amaro 2d7b201e71
[TWIG][CSS] Found solution to show details content by default in desktop view. However, post_form is being rendered multiple times, it was already rendered in the Posting Component. Needs to be fixed. 2021-07-28 11:52:40 +01:00
Eliseu Amaro ac5df2f6b3
[TWIG][CSS] Panels are now animated when shown, main content width as well as panel's is now correctly configured. WIP: displaying side panels by default when space is available, "details" element state cannot be manipulated through CSS only, need a better solution. 2021-07-28 11:52:39 +01:00
Eliseu Amaro 375d0097f3
[TWIG][CSS] Panels functionality works as intended, size needs to be worked upon. 2021-07-28 11:52:39 +01:00
Eliseu Amaro a5eb231196
[TWIG][CSS] Complete HTML refactoring, now using details element instead of a checkbox trick per panel. Using a "grid" akin to IBM's Carbon design guidelines. 2021-07-28 11:52:39 +01:00
Eliseu Amaro aa6886a62a
[TWIG][CSS] Timeline WIP. Creating a notice is now done on the right panel. HTML structure improvements, such as the timeline divided from the navigation div. 2021-07-28 11:52:39 +01:00
Eliseu Amaro aa1fd8ea40
[TWIG][CSS] Base template structural refactoring to accommodate true canons of page construction. CSS WIP to reflect these changes.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:38 +01:00
Eliseu Amaro f47fedcfd4
[TWIG][CSS] Fixed right panel buttons, fix issue where the form was invalid on send.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:38 +01:00
Eliseu Amaro f206b55869
[TWIG][CSS] Right panel WIP. Create a note now looks better, need to style in some way the default user agent buttons without removing features (e.g. current file chosen).
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:38 +01:00
Eliseu Amaro 69f5c1e312
[TWIG][CSS] Left panel profile section done.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:37 +01:00
Eliseu Amaro 8b4148a00d
[TWIG][CSS] Register and Login styling done.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-07-28 11:52:37 +01:00