Commit Graph

48 Commits (54909304287f3c04dcfb39660be8ead57dc95440)

Author SHA1 Message Date
Chocobozzz 5490930428
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
2023-05-24 16:56:05 +02:00
Chocobozzz f3bc1b5416
Help button must not send the parent form 2023-05-22 11:13:01 +02:00
Chocobozzz dc9c9500bf
Improve accessibility 2023-03-15 14:28:27 +01:00
Chocobozzz dec437aa46
Increase theme compatibility
Try to use CSS variable as much as possible
2023-02-17 13:32:11 +01:00
Chocobozzz 7dcd7d8140
Fix client lint 2022-11-15 15:16:41 +01:00
Chocobozzz 42b4063699
Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
Chocobozzz c4a051712b
Cleanup title-page CSS 2022-06-16 16:16:51 +02:00
Chocobozzz 5b0ec7cddb
Increase global font size 2022-06-16 11:37:08 +02:00
Chocobozzz b13a0a48ba
Move alert into to pt-alert-primary 2022-06-15 14:43:33 +02:00
Chocobozzz 93c728a25a
Replace all glyphicon icons 2022-06-13 11:23:36 +02:00
Chocobozzz c2faa073d1
Replace glyphicon chevron 2022-06-10 17:05:55 +02:00
Chocobozzz 60d3601371
Fix list overflow 2022-06-10 13:51:12 +02:00
Chocobozzz 4c8749cb9e
Migrate to bootstrap 5 2022-06-10 09:21:00 +02:00
Chocobozzz 644014cc55
Fix help popover width 2022-05-09 10:54:47 +02:00
Chocobozzz 26da644eab
Fix help component z-index 2022-05-04 09:02:59 +02:00
kontrollanten d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz 9e8a7e0837
Ensure we return a boolean 2021-09-08 10:19:03 +02:00
Ms Kimsible 4546d92e40 Fix undefined this.user.videoChannels on production build 2021-09-08 10:16:33 +02:00
Chocobozzz 98ab5dc810
Remove useless async 2021-08-26 10:01:42 +02:00
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 dd24f1bb0a
Add video filters to common video pages 2021-08-25 11:24:11 +02:00
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz 8cbc40b2fe
Move to sass module 2021-06-28 10:54:02 +02:00
Chocobozzz fa12eacc01
Move to sass @use 2021-06-28 09:36:35 +02:00
Chocobozzz 27bc958674
Bidi support 2021-06-07 18:14:05 +02:00
Chocobozzz 2e46eb9715
Refactor search filters 2021-05-03 16:42:15 +02:00
Chocobozzz 931d343018
Move to stylelint 2021-04-28 17:53:57 +02:00
Chocobozzz 27f4a1ecbc
Fix menu dropdown overflow
Weird issue conflicting with the dropdown config from the menu component
2021-04-26 15:56:49 +02:00
Chocobozzz 733dbc535d Channel/account page redesign feedbacks
Fix owner default avatar
Semi bold orange inverted button
Max width account description
Increase account's channels padding
Use owner avatar/display name links
Move "view owner account" link on mobile
Try to always display channel in video miniatures
Add small border radius for channel's avatar
Use main foreground color for the magnifying glass
2021-03-31 09:05:51 +02:00
Chocobozzz 900f782081 Redesign account's channels page 2021-03-31 09:05:51 +02:00
Chocobozzz 67264e060b Redesign account page 2021-03-31 09:05:51 +02:00
Rigel Kent 370240824e
Allow users/visitors to search through an account's videos (#3589)
* WIP: account search

* add search to account view

* add tests for account search
2021-01-19 13:43:33 +01:00
Chocobozzz 47dc5db9c3
Fix client build 2020-11-17 14:52:57 +01:00
Kimsible f3081d6401
small refactor + clipboard copy on anchor click in instance page (#3318)
* Refacto scrollTo top and anchors

* Add on click clipboard copy and notifier to anchors about/instance page

* Fix margin top anchor middle title about page

* Use viewportscroller for scrolltoanchor

* Add  to Link copied notification on instance page

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-11-17 14:04:44 +01:00
Kim 30d55e75ca
Add restore scroll position on user-dropdown anchors links and scroll to top on active sub-menu links (#3066)
* Add restore scroll position on router same url

* Remove settings top anchor

* Add scrollToTop on active links fixed sub-menu

* Add restore scroll position on notification avatar links

* Toggle menu and close pophover when click on active dropdown menu-left link

* Add onSameUrlRestoreScrollPosition on user dropdown channels link

* Same behavior scrollTop and scroll to anchor everywhere

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-08-17 10:13:31 +02:00
kimsible c537763a23 Fix autoclose md popover when click on emoji list link inside 2020-08-14 15:03:38 +02:00
kimsible 3c176894ba Add markown compatible help icon in comment textarea 2020-08-14 15:03:38 +02: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
kimsible 7034b3c908 Refactor - improve offset content handling with fixed sub-menu and broadcast-message 2020-08-11 08:03:28 +02:00
Chocobozzz ae2dd04617
Correctly fix sub menu 2020-08-10 09:43:44 +02:00
Rigel Kent 9e8929d633
adjust help component, fix its instances in video-edit 2020-08-05 11:23:37 +02:00
Chocobozzz 805d6a354b
Fix top menu dropdown 2020-07-31 13:39:42 +02:00
kimsible 837fe4f3fb Revert user-menu dropdown active class on sub-menu and autoclose only on outside click 2020-07-31 11:31:45 +02:00
Kim dfe3f7b72e
Add alert and hide upload view when no upload is possible (#2966)
* Add alert and hide upload view when no upload is possible

* Add about instance link to alert

* Hide videos and imports links when no upload is possible

* Correct curly spacing lint

* Put logic canUpload to User model + add isHidden param to to-menu-dropdown

* Use canSeeVideoLinks from user model

* Rename and change logic canUpload to isUploadDisabled

* Use isDisplayed() method intead of isHidden value

* Refactor client and check videos count using quota

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-07-28 15:18:38 +02:00
Kim a949f67636
correct regressions on sub-menu for account and admin (#3004) 2020-07-24 23:29:39 +02:00
Kim ed5bb51726
Improve navigation sub-menu and tabs effects (#2971)
* Improve nav border and colors on active and non-active

* Remove margin-top effect on active nav

* Use opacity / bold instead of color change on nav

* Remove dropdown items label in sub-menu and add a class active

* Position sub-menu to fixed

* Autoclose dropdown sub-menu only on outside click

* Remove open dropdown on hover in sub-menu

* Show reusable h1 for dropdown item in sub-menu

* Put reusable sub-menu h1 styles to mixins

* Add icons to sub-menu dropdown-item h1

* Make all the sub-menu accessible with focus

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-23 15:09:15 +02:00
Rigel Kent 0a4cb95c98 simplify navigation within most admin menus 2020-07-02 09:22:59 +02:00
Chocobozzz 67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00