about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/column_header.js
AgeCommit message (Collapse)Author
2023-02-20Rename JSX files with proper `.jsx` extension (#23733)Renaud Chaput
2023-01-30Upgrade ESlint to v8 (#23305)Nick Schonning
2022-11-08Remove aria-pressed where it's redundant (#19912)Sasha Sorokin
This commit removes aria-pressed attribute from all elements which contents or other descriptive attributes change in active state, effectively replacing the meaning of the button, in which case aria-pressed, an attribute specified whether the button is currently pressed, would create a confusion. (Spoiler: it's everywhere). See https://github.com/mastodon/mastodon/issues/13545#issuecomment-1304886969
2022-11-07Fix JavaScript console error on Getting Started column (#19891)Sunny Ripert
* Fix JavaScript console error on Getting Started column * Update app/javascript/mastodon/components/column_header.js Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com> Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
2022-09-29Add sign-up button to logged-out web UI (#19250)Eugen Rochko
2021-10-01Improve hover and focus style in columns settings (#16222)Mélanie Chauvel
* Make focus visible on switches and text buttons in columns settings * Make hover/focus visible on left/right arrows in columns settings Use same style as for station action bar (reply/boost/fav/etc.) * Tab first to “Pin/Unpin” before left/right arrows in columns settings
2020-10-13Fix browser notification permission request logic (#13543)ThibG
* Add notification permission handling code * Request notification permission when enabling any notification setting * Add badge to notification settings when permissions insufficient * Disable alerts by default, requesting permission and enable them on onboarding
2020-04-02Fix pinning a column in web UI sometimes redirecting out of web UI (#13376)Eugen Rochko
Fix #13216
2020-01-25Fix “new items glow” being displayed above settings and announcements ↵ThibG
(#12958)
2019-09-19Fix thread column showing pin button (#11891)Eugen Rochko
Fix #11467
2019-08-25Fix crash when switching back/from mobile layout (#11655)ThibG
Fixes #11630
2019-08-01Fix column header scrolling with the page (#11458)Eugen Rochko
Regression from aa22b38
2019-02-01Refactor icons in web UI to use Icon component (#9951)Eugen Rochko
* 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
2018-12-18Back to the getting-started when pins the timeline. (#9561)kedama
2018-09-28Revert Font Awesome 5 upgrade (#8810)Eugen Rochko
* Revert "Fix some icon names changed by the Font Awesome 5. (#8796)" This reverts commit 3f9ec3de82c1a3879a2b092672f51c1caca76f5c. * Revert "Migrate to font-awesome 5.0. (#8799)" This reverts commit 8bae14591bfb4fc9dd9d89d8082ac0123b03edaa. * Revert "Fix some icons names, unavailable in fontawesome5 (free license). (#8792)" This reverts commit b9c727a945fea5afffb3e3a53279164adfc6e88f. * Revert "Update the icon name changed by the Font Awesome 5. (#8776)" This reverts commit 17af4d27da484fc35ecd4b4dce2443d24aa35d23. * Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome (#8484)" This reverts commit 4b794e134d427dbc716606324adb9a885a74abec.
2018-09-27Migrate to font-awesome 5.0. (#8799)Naoki Kosaka
2018-09-26Fix some icons names, unavailable in fontawesome5 (free license). (#8792)theboss
- pencil => pencil-alt - sliders => sliders-h related: #8484 #8776
2018-09-14Upgrade Babel to version 7.0.0 (#5925)Yamagishi Kazutoshi
2018-03-11Add show more/less toggle for entire threads in web UI (#6733)Eugen Rochko
Fix #1258
2018-02-01Fix button hiding when header title is too long (#6406)abcang
2018-01-15Fix column headers accessibility (#6199)Gô Shoemake
* Fix accessibility of column headers As a screen reader user new to Mastodon, I encountered the following issues with the column headers as designed: * Jumping between them was difficult. FOr instance, passing my home timeline to reach notification settings was difficult to impossible, especially considering infinite scrolling. * There doesn't appear to be any means for triggering the control via the keyboard. the `titleClick` handler only responds to mouse clicks. * I didn't even realize there was a Settings toggle until I made this change. Thanks for using ARIA in your designs. It's a huge help. But adding a `button` role doesn't add keyboard handling and other button behavior. Also, because the role was on the heading container, it obscured the controls within the container itself. This fix resolve that. It also exposes the headings as headings rather than buttons, enabling skipping columns by using screen readers' heading navigation commands. Since I myself am blind, if this fix requires additional visual styling, I'd like help applying that so it can be merged. I'd consider it an essential accessibility fix for my and other blind users' existence on the platform. Thanks! * Styling fixes * Fixed overflow issue
2017-10-26Fix column design broken with very long title (#5493)りんすき
* Fix #5314 * fix not beautiful code * fix broken design with mobile view * remove no longer needed code
2017-09-30Upgrade to React 16 (#5119)Eugen Rochko
* Upgrade to React 16.0.0 * Disable some uncritical tests while chai-enzyme remains incompatible
2017-07-28Improve accessibility (part 3) (#4405)Sorin Davidoi
* fix(compose): Add aria-label for the navigation links * fix(search): Add input label * fix(navigation_bar): Link description * fix(autosuggest_textarea): Add input label * fix(compose_form): Add input label * fix(upload_button): Add input label * fix(account/header): Add link content * fix(column_header): Use h1 tag * fix(column_header): Labels move buttons moving column * fix(settings_text): Add label to input * fix(column_header): Remove role from h1 * fix(modal_root): Use role=dialog * fix(modal_root): Focus restauration * fix(modal_root): Apply inert to sibligs * fix(column_header): Add role=button * chore(eslint): Disable jsx-a11y/label-has-for
2017-07-26Improve accessibility (part 2) (#4377)Sorin Davidoi
* fix(column_header): Invalid ARIA role * fix(column): Remove hidden nodes from the DOM * refactor(column_link): Remove unused property hideOnMobile * fix(column_header): Use aria-pressed * fix(column_header): Make collapsed content not focusable, add focusable property * fix(column_loading): Make header non-focusable * fix(column_settings): Use role to group the toggles
2017-07-26Improve accessibility (#4369)Sorin Davidoi
* fix(compose): Use nav and remove redundant aria-label * fix(tabs_tab): Use nav and add aria-label * fix(app): Add aria-label for settings toggle button * chore: Run yarn manage:translations
2017-07-09Swipeable views (#4105)Sorin Davidoi
* feat: Replace react-swipeable with react-swipeable-views * fix: iOS 9
2017-06-24Clean column collapsible (#3931)unarist
* Remove unused column_collapsable.js * Remove old styles * Extract `> div` style to independent class
2017-06-23Use Class and Property Decorators (#3730)Yamagishi Kazutoshi
ref https://tc39.github.io/proposal-decorators/
2017-06-20Upgrade React Router (#3677)Sorin Davidoi
* chore(yarn): Remove react-router * chore(yarn): Remove react-router-scroll * chore(yarn): Remove history * chore(yarn): Add react-router-dom * chore: Remove usages of react-router-scroll * refactor: Upgrade to react-router-web * refactor: Use fork of react-router-scroll This reverts commit 2ddea9a6c8d39fc64b7d0b587f3fbda7a45a7fa2. * fix: Issues mentions in the PR feedback
2017-06-12Unread indicator was invisible behind column header, adjusted (#3720)Eugen Rochko
* Unread indicator was invisible behind column header, adjusted * Unread indicator now a CSS pseudo-element * Adjust flex
2017-06-05Add back button to hashtag timeline again (#3587)unarist
2017-06-04Allow mounting arbitrary columns (#3207)Eugen Rochko
* Allow mounting arbitrary columns * Refactor column headers, allow pinning/unpinning and moving columns around * Collapse animation * Re-introduce scroll to top * Save column settings properly, do not display pin options in single-column view, do not display collapse icon if there is nothing to collapse * Fix one instance of public timeline being closed closing the stream Fix back buttons inconsistently sending you back to / even if history exists * Getting started displays links to columns that are not mounted