Commit Graph

15 Commits (90917b305a0389f7c851059331852006a4233094)

Author SHA1 Message Date
Claire 2c45859ca9
Refactor account and status formatting ()
* Refactor status formatting

* Add account formatting helpers

* Remove StatusFormatter

* Fixup

* Fix copied typo
Eugen Rochko cefa526c6d
Refactor formatter ()
* Refactor formatter

* Move custom emoji pre-rendering logic to view helpers

* Move more methods out of Formatter

* Fix code style issues

* Remove Formatter

* Add inline poll options to RSS feeds

* Remove unused helper method

* Fix code style issues

* Various fixes and improvements

* Fix test
Eugen Rochko dba4be1038
Change appearance of account cards in web UI ()
* Change appearance of account cards in web UI

* Various fixes and improvements

* Various fixes and improvements
Claire e2844b7e58
Change number_to_human calls to always use 3-digits precision ()
Fixes 
ThibG 48503384d0
Fix some account avatars on public pages having incorrect size ()
* Fix some account avatars on public pages having incorrect size

* Remove outdated and overridden width and height attributes

* Remove more hardcoded width/height attributes
ThibG 0e362b7678
Fix end-user-facing uses of inline CSS ()
* Move some inline styles to CSS files

* Move default_account_display_name span to fix useless tags with duplicate id

* Change handling of public pages spoiler text from inline CSS to dataset attribute

* Use the `dir` HTML attribute instead of inline CSS

* Move status action bar inline CSS to CSS file

* Hide logo resources from CSS file, not inline CSS

Fixes 

* Move translation prompt styling from inline CSS to CSS file

* Move “invited by” styling on registration form from inline to CSS file

* Use the progress tag to display poll results in JS fallback

* Fix poll results JS-less fallback when the user has voted for an option

* Change account public page “moved” notice to use img tags instead of inline CSS

* Move OTP hint inline CSS to SCSS file

* Hide JS-less fallback vote progressbars from accessibility tools

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
ThibG 42d2a915e4 Change last_status_at to be a date, not datetime ()
* Return last_status_at as date, not datetime

* Fix relative timestamp for dates when delay is inferior to 1 day

* Also fix public directory

* Fix error when last_status_at isn't set
mayaeh 1f22b8197c Integrate translation strings for the Profile Directory. ()
Run `yarn manage:translations en`
Eugen Rochko 9871904172
Change layout of public profile directory to be the same as in web UI ()
Eugen Rochko cb447b28c4
Add profile directory to web UI ()
* Add profile directory to web UI

* Add a line of bio to the directory
Eugen Rochko a492a9bcd3
Add information about how to opt-in to the directory on the directory ()
Fix 
Eugen Rochko 087e118971
Remove "most popular" tab from profile directory, add responsive design ()
* Remove "most popular" tab from profile directory, add responsive design

* Remove unused translations
Eugen Rochko 6b78e5b5ab
Cache hashtag sample accounts, and exclude ineligible ones ()
Eugen Rochko ecd303c097
Fix various things in the directory ()
* Fix missing variable in directory page title

* Order hashtags by number of people instead of alphabetically

* Add icon to OpenGraph preview of directory page

* Prevent line breaks in hashtags and ensure lowercase in the table
Eugen Rochko 73be8f38c1
Add profile directory ()
Fix