Commit graph

76 commits

Author SHA1 Message Date
Claire
4a6fb0ea2a Remove navigation links to /explore when trends are disabled ()
* Remove navigation links to /explore when trends are disabled

* Do not display trends interface when trends are disabled
2022-10-25 19:03:16 +02:00
Eugen Rochko
0fdfbe555e Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
2022-10-20 14:35:29 +02:00
Yamagishi Kazutoshi
9762fe2475 Add title to pages with missing title in Web UI () 2022-10-09 03:55:09 +02:00
Eugen Rochko
2d634b669b Fix logged-out web UI on smaller screens () 2022-10-04 20:13:23 +02:00
Eugen Rochko
c33a26ed38 Change "Conversations" back to "Direct messages" and add warning in web UI ()
Partially reverts 
2022-05-03 09:09:09 +02:00
Eugen Rochko
07737bb6d1 Change "Direct" status visibility to "Only people I mention" in web UI ()
- Change name of conversations column in web UI
- Change hotkey for opening conversations column from `g d` to `g c` in web UI
- Remove shortcuts for creating direct-visibility statuses from web UI
2022-04-29 00:24:31 +02:00
mayaeh
500a3e1d3a Changed to display the "Explore" in "Getting-Started" at all resolutions () 2022-03-13 15:01:30 +01:00
mayaeh
24f375d79e Change the "Explore" icon from fa-globe to fa-hashtag () 2022-03-13 05:15:19 +01:00
mayaeh
0a9273ffb2 Add menu column of explore to getting-started () 2022-03-13 04:51:09 +01:00
Eugen Rochko
97eaac87fa Remove profile directory link from main navigation panel () 2022-03-03 06:45:30 +01:00
Eugen Rochko
ce84967ee4 Change routing paths to use usernames in web UI () 2021-09-26 05:46:13 +02:00
ThibG
cbdbe3699c Fix logging out on mobile ()
Fixes 
2020-09-30 19:31:17 +02:00
ThibG
0fd309af0d Add back “Home” link to the “Getting Started” column when the “Home” column isn't mounted ()
* Add back "Home" link to "Getting started" when Home column isn't mounted

* Fix keys in getting_started

It should not matter much in practice as the list of items will only
change extremely rarely, but having a `key` that corresponds to the actual
item makes much more sense than having it be the index of the item within
the list.
2020-08-31 18:11:37 +02:00
Bèr Kessels
b5d7ec71ef Code style improvements in JavaScript ()
* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.
2020-03-08 16:02:36 +01:00
ThibG
517c1cd062 Add bookmarks ()
* Add backend support for bookmarks

Bookmarks behave like favourites, except they aren't shared with other
users and do not have an associated counter.

* Add spec for bookmark endpoints

* Add front-end support for bookmarks

* Introduce OAuth scopes for bookmarks

* Add bookmarks to archive takeout

* Fix migration

* Coding style fixes

* Fix rebase issue

* Update bookmarked_statuses to latest UI changes

* Update bookmark actions to properly reflect status changes in state

* Add bookmarks item to single-column layout

* Make active bookmarks red
2019-11-13 23:02:10 +01:00
ThibG
70990720c5 Change silences to always require approval on follow ()
* Change silenced accounts to require approval on follow

* Also require approval for follows by people explicitly muted by target accounts

* Do not auto-accept silenced or muted accounts when switching from locked to unlocked

* Add `follow_requests_count` to verify_credentials

* Show “Follow requests” menu item if needed even if account is locked

* Add tests

* Correctly reflect that follow requests weren't auto-accepted when local account is silenced

* Accept follow requests from user-muted accounts to avoid leaking mutes
2019-09-27 21:13:51 +02:00
Eugen Rochko
79922ae20f Add profile directory to web UI ()
* Add profile directory to web UI

* Add a line of bio to the directory
2019-08-30 00:14:36 +02:00
Eugen Rochko
191392e5c3 Add trends UI with admin and user settings () 2019-08-06 17:57:52 +02:00
Eugen Rochko
293f789239 Fix scroll to top in single column UI () 2019-08-01 19:17:17 +02:00
Eugen Rochko
7d2b4e9277 Refactor footers in web UI into a single component () 2019-05-27 21:58:41 +02:00
Hanage999
66081c489f Fix wrong redirect from getting started to home in advanced Web UI ()
* update Ruby to 2.5.3

* Link to Getting Started will not redirect to Home in multi-column UI (https://github.com/tootsuite/mastodon/pull/10835)
2019-05-26 12:22:33 +02:00
Eugen Rochko
6d4af23a69 Improvements to the single column layout ()
* Improvements to the single column layout

- Add follows and followers link to the right panel
- Increase margins around separators in right panel
- Add follow requests link with counter when account is locked to right panel

* Redirect from getting started to home when navigation panel is visible
2019-05-26 02:55:37 +02:00
Eugen Rochko
a1bceb2cb6 Add responsive panels to the single-column layout ()
* Add responsive panels to the single-column layout

* Fixes

* Fix not being able to save the preference

* Fix code style issues

* Set max-height on the compose textarea and add a link to relationship manager
2019-05-25 21:27:00 +02:00
Eugen Rochko
f9ca3d62b6 Add forceSingleColumn prop to <UI /> ()
* Move TabsBar rendering logic from CSS to the ColumnsArea component

* Add forceSingleColumn mode

* Add unread notifications counter to tabs bar

* Add toggle to control `forceSingleColumn`

* Increase paddings in mobile layout responsively at large sizes
2019-05-23 01:35:22 +02:00
Sho Kusano
1af37e09f3 Configrationable repository url ()
* config: Add GITHUB_REPOSITORY for repository name

* config: Add SOURCE_BASE_URL for repository url

* Show source_url and repository name on getting started
2019-04-21 04:41:34 +02:00
mayaeh
f308fb56ab Rename from instance to server. () 2019-02-05 19:11:24 +01:00
Eugen Rochko
77dc5cc132 Refactor icons in web UI to use Icon component ()
* Refactor uses of icons to an Icon component in web UI

* Refactor options passed to the Icon component

* Make tests work with absolute component paths
2019-02-01 00:14:05 +01:00
mayaeh
a74a1412bd Changed not to display DISCOVER subheader via single column layout. () 2019-01-08 14:32:36 +01:00
Eugen Rochko
922158bcae Move profile directory link in web UI from footer to discover section () 2019-01-07 23:59:06 +01:00
Takeshi Umeda
c3a406ec62 If it is disabled, remove the link of the profile directory () 2018-12-30 18:57:50 +01:00
Eugen Rochko
eb2994d454 Remove links to bridge.joinmastodon.org (non-functional) ()
Add link to profile directory
2018-12-22 23:32:00 +01:00
Eugen Rochko
7635a136c9 Change documentation URL ()
* Change documentation URL

* Fix hardcoded documentation URL in locales
2018-10-06 14:33:36 +09:00
Eugen Rochko
ad0670fe87 Revert Font Awesome 5 upgrade ()
* Revert "Fix some icon names changed by the Font Awesome 5. ()"

This reverts commit c8a1e945d9.

* Revert "Migrate to font-awesome 5.0. ()"

This reverts commit ae20afbc80.

* Revert "Fix some icons names, unavailable in fontawesome5 (free license). ()"

This reverts commit 30b1bb0704.

* Revert "Update the icon name changed by the Font Awesome 5. ()"

This reverts commit 84bcf89764.

* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome ()"

This reverts commit cc784f3c16.
2018-09-28 02:11:14 +02:00
mayaeh
c8a1e945d9 Fix some icon names changed by the Font Awesome 5. () 2018-09-27 20:36:36 +02:00
Naoki Kosaka
ae20afbc80 Migrate to font-awesome 5.0. () 2018-09-27 17:08:56 +02:00
Yamagishi Kazutoshi
23ab704b2b Upgrade Babel to version 7.0.0 () 2018-09-14 17:59:48 +02:00
takayamaki
c0cb0c84e2 refactor: getting-started__wrapper should contained in getting-started () 2018-08-31 03:43:02 +02:00
Eugen Rochko
f530792615 Add aria-label to column regions ()
Fix 
2018-08-23 17:26:21 +02:00
Eugen Rochko
85990d2886 Link to mobile apps page ()
Fix 
2018-08-19 01:17:44 +02:00
Eugen Rochko
e90b9a0b05 Display Mastodon version in footer of web UI ()
Fix 
2018-07-14 03:56:34 +02:00
kedama
5ba2ceda2e Fix broken single column getting-started menu (Fix ) ()
* Fix lack of height of the getting-started menu. (Fix )

Include the height of navigation bar at the height of getting-started menu.

* Remove item "Security" on the getting-started menu.
2018-06-20 15:22:07 +02:00
Lynx Kotoura
781fe9a152 Change list icons different from the getting-started icons () 2018-06-18 15:33:11 +02:00
Eugen Rochko
a21c8a2e0e Add "find friends", "invite people", and more to getting started footer ()
- Find friends from Twitter (bridge)
- Invite people (when invites enabled)
- Security (change e-mail/password)
- Developers (create OAuth apps/tokens)
2018-06-15 15:51:37 +02:00
Eugen Rochko
650e3e346b Remove trending hashtags ()
* Delete trends_controller.rb

* Update routes.rb

* Update trending_tags.rb

* Update index.js

* Update index.js

* Update search_results.js

* Update async-components.js

* Update index.js

* Delete trends.js

* Delete trends.js

* Delete trends_container.js

* Delete trends.js

* Update search_results.js

* Update search_results_container.js
2018-06-04 02:18:18 +02:00
Eugen Rochko
aa54c65ee2 Improve trends layout ()
* Allow collapsing trends, responsively hide trends

* Add trends column
2018-06-01 19:18:37 +02:00
Yamagishi Kazutoshi
f64f9860c7 Add loading indicator for trending tags () 2018-06-01 14:22:42 +02:00
Yamagishi Kazutoshi
a87927437d Fix duplicate key attributes () 2018-06-01 14:02:49 +02:00
Eugen Rochko
aa1f74cba6 Make the refresh trends button refresh trends () 2018-05-31 16:46:02 +02:00
Eugen Rochko
931c88b0aa Improve getting started column ()
* Adjust footer of getting started column

- Improved style
- Moved hotkeys, about this instance and logout to footer
- Removed FAQ, User Guide, Apps links
- Use hamburger icon for the column

* Add edit profile action button to profile and more to dropdown

* Add "Trending now" to getting started column

* Add preferences/security links on mobile layout
2018-05-30 18:41:47 +02:00
Kaito Sinclaire
447741e456 Direct messages column ()
* Added a timeline for Direct statuses
* Lists all Direct statuses you've sent and received
* Displayed in Getting Started
* Streaming server support for direct TL

* Changes to match other timelines in 2.0
2018-04-18 13:09:06 +02:00