about summary refs log tree commit diff
path: root/app/javascript/styles/components.scss
AgeCommit message (Collapse)Author
2017-07-14Improve swiping (#4188)Sorin Davidoi
* feat(components/columns_area): Toggle animation settings * fix(components/media_modal): Center non-visible views * fix(components/media_modal): Check for null * refactor(columns_area): Better logic
2017-07-13fix(components/media_modal): Style issues (#4187)Sorin Davidoi
2017-07-13Web Push Notifications (#3243)Sorin Davidoi
* feat: Register push subscription * feat: Notify when mentioned * feat: Boost, favourite, reply, follow, follow request * feat: Notification interaction * feat: Handle change of public key * feat: Unsubscribe if things go wrong * feat: Do not send normal notifications if push is enabled * feat: Focus client if open * refactor: Move push logic to WebPushSubscription * feat: Better title and body * feat: Localize messages * chore: Fix lint errors * feat: Settings * refactor: Lazy load * fix: Check if push settings exist * feat: Device-based preferences * refactor: Simplify logic * refactor: Pull request feedback * refactor: Pull request feedback * refactor: Create /api/web/push_subscriptions endpoint * feat: Spec PushSubscriptionController * refactor: WebPushSubscription => Web::PushSubscription * feat: Spec Web::PushSubscription * feat: Display first media attachment * feat: Support direction * fix: Stuff broken while rebasing * refactor: Integration with session activations * refactor: Cleanup * refactor: Simplify implementation * feat: Set VAPID keys via environment * chore: Comments * fix: Crash when no alerts * fix: Set VAPID keys in testing environment * fix: Follow link * feat: Notification actions * fix: Delete previous subscription * chore: Temporary logs * refactor: Move migration to a later date * fix: Fetch the correct session activation and misc bugs * refactor: Move migration to a later date * fix: Remove follow request (no notifications) * feat: Send administrator contact to push service * feat: Set time-to-live * fix: Do not show sensitive images * fix: Reducer crash in error handling * feat: Add badge * chore: Fix lint error * fix: Checkbox label overlap * fix: Check for payload support * fix: Rename action "type" (crash in latest Chrome) * feat: Action to expand notification * fix: Lint errors * fix: Unescape notification body * fix: Do not allow boosting if the status is hidden * feat: Add VAPID keys to the production sample environment * fix: Strip HTML tags from status * refactor: Better error messages * refactor: Handle browser not implementing the VAPID protocol (Samsung Internet) * fix: Error when target_status is nil * fix: Handle lack of image * fix: Delete reference to invalid subscriptions * feat: Better error handling * fix: Unescape HTML characters after tags are striped * refactor: Simpify code * fix: Modify to work with #4091 * Sort strings alphabetically * i18n: Updated Polish translation it annoys me that it's not fully localized :P * refactor: Use current_session in PushSubscriptionController * fix: Rebase mistake * fix: Set cacheName to mastodon * refactor: Pull request feedback * refactor: Remove logging statements * chore(yarn): Fix conflicts with master * chore(yarn): Copy latest from master * chore(yarn): Readd offline-plugin * refactor: Use save! and update! * refactor: Send notifications async * fix: Allow retry when push fails * fix: Save track for failed pushes * fix: Minify sw.js * fix: Remove account_id from fabricator
2017-07-13Add background color for spoiler input, like toot textarea (#4181)unarist
2017-07-11Redesign the landing page, mount public timeline on it (#4122)Eugen Rochko
* Redesign the landing page, mount public timeline on it * Adjust the standalone mounted component to the lacking of router * Adjust auth layout pages to new design * Fix tests * Standalone public timeline polling every 5 seconds * Remove now obsolete translations * Add responsive design for new landing page * Address reviews * Add floating clouds behind frontpage form * Use access token from public page when available * Fix mentions and hashtags links, cursor on status content in standalone mode * Add footer link to source code * Fix errors on pages that don't embed the component, use classnames * Fix tests * Change anonymous autoPlayGif default to false * When gif autoplay is disabled, hover to play * Add option to hide the timeline preview * Slightly improve alt layout * Add elephant friend to new frontpage * Display "back to mastodon" in place of "login" when logged in on frontpage * Change polling time to 3s
2017-07-11Drawer tab according to column (#4135)Yamagishi Kazutoshi
* Add notifications link to drawer * Remove local and public timeline tab in drawer * Add home
2017-07-09fix(components/media_modal): Aspect ratio (#4128)Sorin Davidoi
* fix(components/media_modal): Aspect ratio * fix: Remove useless style
2017-07-09Swipeable views (#4105)Sorin Davidoi
* feat: Replace react-swipeable with react-swipeable-views * fix: iOS 9
2017-07-08Don't use preview when image size is unknown (#4113)Yamagishi Kazutoshi
2017-07-08Lazy load components (#3879)Sorin Davidoi
* feat: Lazy-load routes * feat: Lazy-load modals * feat: Lazy-load columns * refactor: Simplify Bundle API * feat: Optimize bundles * feat: Prevent flashing the waiting state * feat: Preload commonly used bundles * feat: Lazy load Compose reducers * feat: Lazy load Notifications reducer * refactor: Move all dynamic imports into one file * fix: Minor bugs * fix: Manually hydrate the lazy-loaded reducers * refactor: Move all dynamic imports to async-components * fix: Loading modal style * refactor: Avoid converting the raw state for each lazy hydration * refactor: Remove unused component * refactor: Maintain modal name * fix: Add as=script to preload link * chore: Fix lint error * fix(components/bundle): Check if timestamp is set when computing elapsed * fix: Load compose reducers for the onboarding modal
2017-07-01Fix height issue in report modalEugen Rochko
2017-06-30Fix broken style in media gallery (regression from #3963) (#4014)Yamagishi Kazutoshi
2017-06-30Fix media-gallery, overflow is hidden. (#4008)Naoki Kosaka
2017-06-27Turn report screen into a modal (#3965)Eugen Rochko
2017-06-27Responsive images in media gallery (#3963)Sorin Davidoi
* feat(components/media_gallery): Responsive images * fix(components/media_gallery): Link to image URL
2017-06-27Maintain aspect ratio for preview image (#3966)Yamagishi Kazutoshi
2017-06-24Fix elephant in onboarding modal being very small sized on small devices (#3932)unarist
2017-06-24Clean column collapsible (#3931)unarist
* Remove unused column_collapsable.js * Remove old styles * Extract `> div` style to independent class
2017-06-23fix: Apply :hover, :focus and :active only when multiple columnsSorin Davidoi
2017-06-20Replace TextIconButton for SensitiveButton to IconButton (#3759)Yamagishi Kazutoshi
* Replace TextIconButton for SensitiveButton to IconButton * line-height
2017-06-19Set cursor:pointer only when necessary (#3857)unarist
2017-06-13Fix unclickable onboardin modal regression (#3724)Eugen Rochko
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-12Re-add clear notifications button (#3708)Yamagishi Kazutoshi
* Re-add clear notifications button * remove connect() in column_settings * one line * remove unused props
2017-06-09adjust the size of 'column-header__back-button' (retry) (#3662)Clworld
2017-06-09adjust the size of column-header__back-button (#3654)ふぁぼ原
2017-06-08fix: Warn if JavaScript is disabled (#3634)Sorin Davidoi
2017-06-06Use preview image in <ImageLoader /> to provide immediate visual feedback ↵Eugen Rochko
(#3595) before the full-size image is loaded
2017-06-06Add regex filters on the community timeline and the public timeline. (#3564)ふぁぼ原
* Add regex filter on the community timeline and the public timeline * correcting * Adjust the height of header buttons * Remove trailing spaces * Remove trailing spaces * Solve some code duplication * reset the state of the locale files in app/javascript/mastodon/locales * adjust to upstream * adjust to upstream * change keys of locale settings
2017-06-05Add support key shortcut to Onboarding Modal (#3517)Yamagishi Kazutoshi
* Add support key shortcut to Onboarding Modal * this.state.pages -> this.pages
2017-06-04Fix column buttons overflow in Japanese (#3552)Yamagishi Kazutoshi
2017-06-04Fix all icons in the column header being hilighted (#3554)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
2017-06-03Change toggle state when click label (#3530)Yamagishi Kazutoshi
2017-05-31Remove react-imageloader (#3423)Nolan Lawson
* Remove react-imageloader * add eslint-disable-line * improve image loading experience * remove unneeded import * use PureComponent * Use componentWillMount instead of constructor
2017-05-28Fix video having black border on top due to regression from #2608 (#3392)Eugen Rochko
The combination of object-fit, relative position 50% from top and translating it back upwards 50% is what allows us to crop the video properly, so it needs to be +50%-50%
2017-05-27Replace onboarding elephant with friendlier graphic, shorter animation (#3337)Eugen Rochko
on status fade-in, fix buttons not having pointer cursor
2017-05-26Change anchor to button element (#3321)Yamagishi Kazutoshi
Fix warning for ESLint (jsx-a11y/href-no-hash).
2017-05-25Fix "contains" CSS for Chromium <57 (#3317)Nolan Lawson
Fixes #3277. I've tested in QupZilla on Mac and can confirm it fixes the issue, and that Chrome 58 is not affected (because it has Grid).
2017-05-25Add `flex: 0 0 auto` to some components to avoid bugs on iOS9 (#3313)unarist
2017-05-25Remove unnecessary action bar wrapper divs (#3299)Nolan Lawson
2017-05-25Fix load more feature on the Account media gallery (#3293)unarist
* Add load more button for large screens * Fix `next` state value on the first loading * Don't load if `isLoading || !hasMore` * Start load on near the bottom
2017-05-24Lazy load toots using IntersectionObserver (#3191)Sorin Davidoi
* refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
2017-05-24Fix DM being highlighted when it's inside a favourite notification (#3267)Eugen Rochko
2017-05-23Focus the submit button (#3253)Yamagishi Kazutoshi
Focus the submit button when confirmation modal is opened. Also, changed cancellation link to button. This makes the meaning clearer.
2017-05-20Remove unnecessary status__info-time div (#3172)Nolan Lawson
2017-05-20Add account media gallery view to web UI (#3120)Eugen Rochko
* Add account media gallery view to web UI * Link media view from account dropdown * Adjust link
2017-05-20feat: Use CSS contain to avoid computations (#3158)Sorin Davidoi
2017-05-19Remove react-autosuggest (#3140)Yamagishi Kazutoshi
react-autosuggest is added from c49f6290eb9c93720bd5407f4320bb0fd6c96ed9 Dependence removed from b27066e154c8c2da57f23bf659907bacd37ce4da
2017-05-19Replace inline styles with stylesheet (#3115)Yamagishi Kazutoshi