Commit Graph

82 Commits (1ff15061b31245df4248e47228d0a90b07ab3f01)

Author SHA1 Message Date
Ms Kimsible 7dca45f99d
Inform user to fill account profile and channels (#4352)
* Add account-setup modal when login

* Add channels-setup alert into my-channels, my-playlists and upload page

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-08-26 08:22:33 +02:00
Chocobozzz fc21ef5c62
Speed up plugins loading 2021-06-04 15:45:44 +02:00
Chocobozzz 2989628b79
Use HTML config when possible 2021-06-04 15:45:44 +02:00
Chocobozzz 8e08d415f9
Load server config on app init 2021-06-04 15:45:44 +02:00
Chocobozzz 0f01a8bacd Remove ngx-meta
Unmaintained
2021-05-27 16:00:13 +02:00
Chocobozzz 746018f6b8
Refactor actor avatar display 2021-04-28 11:49:34 +02:00
kontrollanten fbdcd4ec9f
Add AccountAvatarComponent (#3965)
* refactor(client): create account-avatar component

* continue implement account-avatar

* fix review comments
2021-04-15 10:01:27 +02:00
Chocobozzz 1d22d2514f
Fix service worker 2021-01-18 11:16:37 +01:00
Kimsible 51a8397006
User dropdown and notifications popover improvements (#3344)
* hove user dropdown on avatar and username
* rename avatar-notification to notification component
* use a link on mobile for notification component
* add profile user dropdown and mobile notifications link as reusable active link
* replace markAllAsRead inbox glyphicon to ok in notification popover
* remove keyboard shortcuts from user dropdown on mobile
* use common bell icon instead of inbox-full for notifications
* remove duplicated notification in user dropdown since the bell appears on the right
* adjust sensitive icon in user dropdown
* align vertically user buttons popover and dropdown
* adjust ellipsis on user display name and username in menu
* adjust notification bell for mobile in menu
* display background of user dropdown avatar and username for touchscreens
* add right arrow indicator on mobile

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
2020-12-13 14:54:12 +01:00
Chocobozzz 68f6c87a27
Various front optimizations 2020-11-27 15:46:49 +01:00
Chocobozzz 66357162f8
Migrate to $localize
* Remove i18n polyfill to translate things in components
 * Reduce bundle sizes
 * Improve runtime perf
 * Reduce a lot the time to make a full client build
 * Reduce client build complexity
 * We don't need a service to translate things anymore (so we will be able to translate title pages etc)

Unfortunately we may loose some translations in the migration process.
I'll put a message on weblate to notify translators
2020-08-14 10:28:30 +02:00
Chocobozzz bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00
Chocobozzz f0b56fdd0c
Put empty module in app module 2020-06-24 15:29:08 +02:00
Chocobozzz 1942f11d5e Lazy load all routes 2020-06-23 16:00:49 +02:00
Chocobozzz 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Chocobozzz 5fb2e2888c First implem global search 2020-06-10 14:02:41 +02:00
Chocobozzz 2a39506c7d
Revert "Remove oc locale support"
This reverts commit 8323c435c1.
2020-05-29 17:09:55 +02:00
Chocobozzz 399b3bc9a6
Update translations 2020-05-11 13:39:06 +02:00
Kim 437e8e06eb
Add custom modal to plugin helpers (#2631)
* Add custom modal component

* Add custom modal to app and plugins helpers

* Fixes custom modal component

* Add doc for custom modal

* Fix newline end of file html and scss files

* Move my-custom-modal component outside component for UserLoggedIn modals

* Move initializeCustomModal to ngAfterViewInit()

* Wrap events and conditionnals

* Replace ng-show with ngIf*

* Add modalRef to open only one modal + onCloseClick

* Refacto + Fix access methods of custom modal

* Fix methods names custom-modal.component

* Fix implement AfterViewInit & no default boolean

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-15 15:35:41 +02:00
Chocobozzz 1fe654e096
Fix peertube interface i18n 2020-04-03 14:56:05 +02:00
Rigel Kent d3217560a6
Add visitor settings, rework logged-in dropdown (#2514)
* Add visitor settings, rework logged-in dropdown

* Make user dropdown P2P switch functional

* Fix lint

* Fix unnecessary notification when user logs out

* Simplify visitor settings code and remove unnecessary icons

* Catch parsing errors and reindent menu styles
2020-02-28 13:52:21 +01:00
Rigel Kent 6af662a596
Add keyboard navigation and hepler to typeahead 2020-02-13 16:32:21 +01:00
Rigel Kent f409f0c3b9
Search typeahead initial design 2020-02-13 16:32:21 +01:00
Chocobozzz 8cc56c7fdd
Only use basehref
Will allow us to use the localize option
2020-02-12 14:09:55 +01:00
Chocobozzz 361dcebc75 Support i18n build 2020-02-10 16:39:28 +01:00
Chocobozzz 14aa85562c
Cleanup some client FIXME 2020-01-29 16:00:28 +01:00
Chocobozzz ba430d7516
Lazy load static objects 2019-12-18 15:40:59 +01:00
Chocobozzz 350131cbaf
Make build works 2019-11-13 10:04:16 +01:00
Chocobozzz 43d0ea7f4b Add welcome modal 2019-09-05 10:17:02 +02:00
Chocobozzz b247a13270
Add success icon on registration 2019-05-29 14:39:49 +02:00
Chocobozzz 2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
BO41 244b4ae397 NoImplicitAny flag true (#1157)
this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137
2018-10-18 09:08:59 +02:00
Chocobozzz bcb0c8958f
Fix client build 2018-09-12 09:52:08 +02:00
Rigel Kent 7aba23d13f
wrap the hotkeys component to allow templating 🎨 2018-09-11 21:33:22 +02:00
Rigel Kent e78980ebd1 use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Rigel Kent ee1fc23a87 keyboard shortcuts and key map view (#974) 2018-08-28 09:32:03 +02:00
Chocobozzz c0ffdd0958 Fix dev locale 2018-08-27 09:41:54 +02:00
Chocobozzz 57c36b277e Begin advanced search 2018-07-24 14:04:05 +02:00
Chocobozzz 8afc19a612
Add ability to choose the language 2018-06-28 15:53:12 +02:00
Chocobozzz 78f912ed57 Improve P2P & Privacy section 2018-06-27 14:59:09 +02:00
Chocobozzz b7f1747dc7
Create webtorrent client on player load
So we don't run Angular change detection every 250ms on webtorrent
import, when https://github.com/mafintosh/speedometer/pull/7 will be
merged
2018-06-18 10:26:18 +02:00
Chocobozzz 74b7c6d48e
Little i18n refractoring 2018-06-06 17:37:13 +02:00
Chocobozzz f07d6385b4
Rename messages locale to angular 2018-06-06 16:48:41 +02:00
Chocobozzz e309822b93
Add form validator translations 2018-06-05 15:02:27 +02:00
Chocobozzz 989e526abf
Prepare i18n files 2018-06-05 08:43:01 +02:00
Chocobozzz a961477666
Fix lint 2018-05-31 14:43:48 +02:00
Chocobozzz a51bad1acc
Add 404 page 2018-05-31 14:24:13 +02:00
Chocobozzz 230de99e71
Upgrade client dependencies 2018-05-29 12:05:02 +02:00
Chocobozzz 62e62f118d
Load my-account module lazily 2018-05-09 09:32:26 +02:00
Chocobozzz 4bb6886d28
Rename account module to my-account 2018-04-23 16:16:05 +02:00