f0x
70342681c1
refactor/split css, templates
2024-11-05 15:53:22 +01:00
tobi
0ff52b71f2
[chore] Refactor HTML templates and CSS ( #2480 )
...
* [chore] Refactor HTML templates and CSS
* eslint
* ignore "Local"
* rss tests
* fiddle with OG just a tiny bit
* dick around with polls a bit more so SR stops saying "clickable"
* remove break
* oh lord
* don't lazy load avatar
* fix ogmeta tests
* clean up some cruft
* catch remaining calls to c.HTML
* fix error rendering + stack overflow in tag
* allow templating attributes
* fix indent
* set aria-hidden on status complementary content, since it's already present in the label anyway
* tidy up templating calls a little
* try to make styling a bit more consistent + readable
* fix up some remaining CSS issues
* fix up reports
2023-12-27 11:23:52 +01:00
tobi
bca9b2c896
[bugfix] Make screenreaders read out Language of posts properly ( #2436 )
...
* [bugfix] Make screenreaders read out Language of posts properly
* make published more readable
2023-12-10 15:06:06 +01:00
tobi
dacfd413dc
[chore/frontend] Refactor status templates slightly, put polls behind CWs if present ( #2419 )
...
* [chore/frontend] Reorder templates, allow polls to be inside content warnings
* show when multiple-choice
2023-12-05 12:43:07 +01:00
tobi
8c2d94c168
[feature] Poll web view ( #2377 )
...
* [feature] Render polls nicely on the web view
* use figure for poll, other small tweaks
* reverse share + count (lines up better)
* poll options list entries
* fix up some remaining things
2023-11-22 12:17:42 +01:00
tobi
fc02d3c6f7
[feature] Set/show instance language(s); show post language on frontend ( #2362 )
...
* update go text, include text/display
* [feature] Set instance langs, show post lang on frontend
* go fmt
* WebGet
* set language for whole article, don't use FA icon
* mention instance languages + other optional config vars
* little tweak
* put languages in config properly
* warn log language parse
* change some naming around
* tidy up validate a bit
* lint
* rename LanguageTmpl in template
2023-11-17 11:35:28 +01:00
tobi
ba9d6b467a
[feature] Media attachment placeholders ( #2331 )
...
* [feature] Use placeholders for unknown media types
* fix read of underreported small files
* switch to reduce nesting
* simplify cleanup
2023-11-10 19:29:26 +01:00
f0x52
66df974143
[frogend/bugfix] fix dynamicSpoiler elements ( #1771 )
2023-05-12 13:50:37 +02:00
f0x52
9cc9ffc5a7
[frontend] Profiles with fields & more ( #1764 )
...
* redesign status template
* separate index page styling
* redesign profile template
* fix header styling/wrapping
* remove old spoiler js
* fix status cw button wrapping
* fix status info variables
* profile responsiveness, accessibility tweaks
* fix variable use, mobile
* remove duplicate id's
* rss icon, fix indent
* fix toot border-radius
* fix toot spacing
* emojify and html profile fields
* refactor (sensitive) media rendering
* plaintext profile fields
* bundle plyr icon svg
* only pause video when switching photoswipe slides
* yarn upgrade
* profile fields formatting
* replace uglifyify with @browserify updated fork
* fix profile field templating (yet again)
* fix React classes
* testrig: add testing profile field for admin user
* fix sensitive media interactions
* Revert "testrig: add testing profile field for admin user"
This reverts commit 80490c183e
.
* settings interface wrapping
* fix reported toot styling
* add role to profile sr-only text
* comment fallback rule
* remove currently unused image description lacking indicator
2023-05-11 17:46:32 +02:00
tobi
36a2131375
[chore] Update templates license headers ( #1672 )
2023-04-04 11:33:11 +02:00
tobi
0dbe6c514f
[chore] Update/add license headers for 2023 ( #1304 )
2023-01-05 12:43:00 +01:00
tobi
2bbc64be43
[feature] Enable basic video support (mp4 only) ( #1274 )
...
* [feature] basic video support
* fix missing semicolon
* replace text shadow with stacked icons
Co-authored-by: f0x <f0x@cthu.lu>
2022-12-17 04:38:56 +00:00
tobi
deba75cad1
[chore] Use shorter timestamps in frontend for replies ( #875 )
...
* rename timestampShort -> timestampVague
* add ParseISO8601
* start fiddling with timestamp
* pad/margin a bit more consistently
* remove visibilty icon, change timestamp use
* update timestamp logic
* check + log errors
* properly cut-off long display- and usernames
Co-authored-by: f0x <f0x@cthu.lu>
2022-10-02 15:54:42 +02:00
tobi
dd83ad053c
[feature] Add meta robots
tag; allow robots to index profile card if user is Discoverable ( #842 )
...
* rework robots.txt response
* don't let robots snippet from statuses/threads
* allow robots to index if user is Discoverable
* add license text
2022-09-29 12:03:17 +02:00
f0x52
938328cd07
[frontend] Unified panels ( #812 )
...
* settings panel restructuring
* clean up old Gin handlers
* colorscheme redesign, some other small css tweaks
* basic router layout, error boundary
* colorscheme redesign, some other small css tweaks
* kebab-case consistency
* superfluous padding on applist
* remove unused consts
* redux, whitespace changes..
* use .jsx extensions for components
* login flow up till app registration
* full redux oauth implementation, with basic error handling
* split oauth api functions
* oauth api revocation handling
* basic profile change submission
* move old dir
* profile overview
* fix keeping track of the wrong instance url (for different instance/api domains)
* use redux state for profile form
* delete old/index.js, old/basic.js, fully implemented
* implement old/user/profile.js
* implement password change
* remove debug logging
* support future api for removing files
* customize profile css
* remove unneeded wrapper components
* restructure form fields
* start on admin pages
* admin panel settings
* admin settings panel
* remove old/admin files
* add top-level redirect
* refactor/cleanup forms
* only do API checks on logged-in state
* admin-status based routing
* federation block routing
* federation blocks
* upgrade dependencies
* react 18 changes
* media cleanup
* fix useEffect hooks
* remove unused require
* custom emoji base
* emoji uploader
* delete last old panel files
* sidebar styling, remove unused page
* refactor submit functions
* fix sidebar boxshadow-border
* fix old css variables
* fix fake-toot avatar
* fix non-square emoji
* fix user settings redux keys
* properly get admin account contact from instance response
* Account.source default values
* source.status_format key
* mobile responsiveness
* mobile element tweaks
* proper redirect after removing block
* add redirects for old setting panel urls
* deletes
* fix mobile overflow
* clean up debug logging calls
2022-09-29 12:02:41 +02:00
tobi
c4a08292ee
[feature] Show + federate emojis in accounts ( #837 )
...
* Start adding account emoji
* get emojis serialized + deserialized nicely
* update tests
* set / retrieve emojis on accounts
* show account emojis in web view
* fetch emojis from db based on ids
* fix typo in test
* lint
* fix pg migration
* update tests
* update emoji checking logic
* update comment
* clarify comments + add some spacing
* tidy up loops a lil (thanks kim)
2022-09-26 11:56:01 +02:00
tobi
58c00d9f2f
[frontend] Transition neatly from cropped photos ( #802 )
2022-09-04 15:14:15 +02:00
Blackle Morisanchetto
1e1cdee06a
[feature] Emojify spoiler and content in web templates ( #785 )
...
* Emojify spoiler and content in web templates
* Use more performance emojify code (thanks NyaaaWhatsUpDoc!)
2022-09-02 11:54:32 +02:00
f0x52
52fe681ba2
[frontend] Sensitive media spoilers ( #752 )
...
* sensitive media spoilers
* small tweaks, use pointer-events (thanks @owl!)
* allow hiding all media
* add button roles
* add tabindices
* s/Show media/Show sensitive media/
* show hovering alt-text on hidden sensitive images
Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2022-08-14 19:22:13 +02:00
f0x52
f2a6ae3ef8
[feature] Photoswipe gallery ( #740 )
...
* implement photoswipe galleries
* dependency wrangling
* photoswipe-dynamic-caption plugin
2022-08-07 17:58:01 +02:00
tobi
211266c072
[bugfix] Fix display names in thread view causing wrapping issues on small screens ( #698 )
...
* use account.Acct for username
* allow username + displayname to wrap with ellipses
* use span 2 for displayname always
* remove commented-out line
2022-07-09 13:37:06 +02:00
tobi
8e68970258
[frontend] Fix up status 'show more' and z-index ( #701 )
...
* put spoiler items in a flexbox
* make the whole status top of z index
this allows text to be selected properly
* allow status spoiler text to break across lines
2022-07-09 13:36:56 +02:00
tobi
16ddad36b2
[frontend] Redesign / color scheme ( #688 )
...
* fix css indentation
* profile styling update
* update status styling to match profile
* empty header fix
* generate random avatars for thread views
* appease the linter gods
* upgrade deps
* turn profile accent into border + $bg background
* upgrade deps
* small accessibility tweaks
* general redesign, clearer css variables
* configure instance.Version for testrig
* footer styling
* add sublte borders to box-shadow for separation
* accessible blues, other tweaks
* background bg_accent
* fix viewport
* change client entry buttons to links
* cw button styling
* status display+username spacing
* small thread view tweaks
* color tweaks for accessible contrasts
* use Noto Sans
* biiit less dark bg
* .info contrast, border
Co-authored-by: f0x <f0x@cthu.lu>
2022-07-04 16:23:59 +02:00
f0x52
7c6c0cd547
[frontend] Profile pages upgrade ( #640 )
...
* fix css indentation
* profile styling update
* update status styling to match profile
* empty header fix
* generate random avatars for thread views
* appease the linter gods
* upgrade deps
* turn profile accent into border + $bg background
* upgrade deps
* small accessibility tweaks
Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2022-06-21 10:48:42 +02:00
f0x52
026674bc2c
Thread views on the web ( #207 )
...
* Webviews for status threads
* fix up templates
* add ForkAwesome and gotosocial-styling into repo
* clean up gotosocial-styling, old styling
* update CONTRIBUTING with new css building, and nodemon recommendation
* update Dockerfile with new css bundling
* those weren't supposed to make it in
* upgrade gotosocial-styling deps
* update authorize template with main wrapper
* update css pipeline
* abstract status from thread to avoid copy-pasting
* basic CW implementation
* fix PR review suggestions
* fix no-image-desc icon alignment
* remove template loading println
* remove println
* remove changes to testmodels
* reset changes to testmodels
2021-09-13 14:45:33 +02:00