Commit Graph

3999 Commits

Author SHA1 Message Date
kontrollanten
ca87329289
Don't pause video upon modal open (#3909)
* client: dont pause video upon modal open

closes #3816

* client(video/watch): remove obsolete code

* gitignore: add vscode and vim swp files
2021-04-08 13:37:57 +02:00
aschaap
97c116edf9
Fixing disappearing hamburger menu for narrow screens (#3929)
* Made top search bar more scalable for (physically) narrow screens

Removing `flex: auto` on `.top-left-block` for screens narrower than
`350px`allows the search bar to resize to fill up the remaining space.
Setting `width: 70px` on `#typeahead-container input` for mobile widths
prevents the hamburger button from being squished at certain widths.
Given that the padding adds up to `50px`, setting what amounts to the
minimum width of the search field to `70px` seems reasonable.

Fixes #3199.

* Making hamburger button margin and spacing narrower for mobile

The clickable area is restricted to the icon anyway, and the extra space
benefits the search field width on narrow screens.
2021-04-08 11:07:18 +02:00
aschaap
9a8c02c9da
correct inconsistency in spacing "Sort By" for narrow screens (#3938)
Mimicked the approach used in other tabs under "My Library":
* Adding bottom margin to search field to keep distance from "Sort By"
* Fixing extra left margin on "Sort By" for narrow screens
* Removed the `ml-2` class so that `!important` is no longer needed
* Removed unnecessary `!important` from account video search field width
2021-04-08 10:44:43 +02:00
Chocobozzz
02dd4f3c65 Display banner on channel page 2021-04-08 10:07:53 +02:00
Chocobozzz
cdeddff142 Add ability to update the banner 2021-04-08 10:07:53 +02:00
Chocobozzz
f479685678 Agnostic actor image storage 2021-04-08 10:07:53 +02:00
Chocobozzz
968aaed206 Fix notification scrollbar color 2021-04-08 10:07:53 +02:00
aschaap
0564fc09d3
Reducing tag input excessive padding; fixes #3915 (#3927)
* Removed !important and added rules to style tags input; fixes #3915

* Simplifying what @rigelk was achieving with !important in 149e4cc

* Compressed CSS selectors

Co-authored-by: Rigel Kent <par@rigelk.eu>

Co-authored-by: Rigel Kent <par@rigelk.eu>
2021-04-07 08:39:48 +02:00
Chocobozzz
0df302ca8d
Remove unused sort param 2021-04-06 10:08:21 +02:00
Rigel Kent
8e286cdca4
add sort select to my videos, change default sort to -publishedAt
fixes #3779
2021-04-06 10:03:19 +02:00
aschaap
43a3d281fe
Minimal PeertubeModalService to open settings from "can be redefined..." (#3923)
* Minimal PeertubeModalService to open settings from "can be redefined..."

* Linter changes

* Removed unused parameter, made Subject type reflect this, and formatting
2021-04-06 08:57:30 +02:00
Chocobozzz
4e6276c493
Fix account empty description display 2021-04-05 11:44:09 +02:00
Chocobozzz
4363ce0e3e
Increase thumbnail size on server 2021-04-05 11:44:09 +02:00
Chocobozzz
fcd8d3e030
Fix actor overflows 2021-04-05 11:44:09 +02:00
Chocobozzz
55da09587a
Fix miniature overflow 2021-04-05 11:44:09 +02:00
Jonas Sulzer
37ecefa256 🐛 FIX: player width/heigth aspect ratio
to remove unnecessary black border above and below the video

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2021-04-05 09:16:35 +02:00
Rigel Kent
0a25749f14
simplify channels/playlists name in account/channel views 2021-04-02 15:01:54 +02:00
Chocobozzz
0a6785d115
Increase videos grid margins on desktop 2021-04-01 17:17:41 +02:00
Chocobozzz
559b3cccb7
Remove useless thumbnailSize 2021-04-01 17:01:57 +02:00
Chocobozzz
038907bcb2
Limit search entry width 2021-04-01 16:59:57 +02:00
Chocobozzz
4429a4a6e7
Responsive search 2021-04-01 16:54:49 +02:00
Chocobozzz
4d5e572f52
Account/channel videos display as rows 2021-04-01 16:54:49 +02:00
Chocobozzz
0f7407d926
Refactor video miniature
Less dirty code, better responsive
Prepare for some regressions
Increase default miniature size
2021-04-01 16:54:49 +02:00
Chocobozzz
33253c1aa6
Fix multiline ellipsis 2021-04-01 16:54:49 +02:00
kontrollanten
58b9ce3080
Resume videos for non-logged in users (#3885)
* client: resume videos for non-logged in users

closes #3866

* fix build for embeded

* Update client/src/app/app.component.ts

* fix review comments
2021-03-31 11:26:32 +02:00
Chocobozzz
d794137057
Refactor horizontal margins 2021-03-31 11:21:10 +02:00
Chocobozzz
218f730c7b
Theme breaking: --submenuColor becomes --submenuBackgroundColor 2021-03-31 09:07:25 +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
c8e80d1461 Use the channel URL behind the account in miniature 2021-03-31 09:05:51 +02:00
Chocobozzz
7f18840602 Display channel in miniature
With some exceptions though
2021-03-31 09:05:51 +02:00
Chocobozzz
deb8b9cdb0 Square channel avatar consistency 2021-03-31 09:05:51 +02:00
Chocobozzz
100d9ce23b Add support button in channel page 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
Chocobozzz
60c35932f6 Redesign channel page 2021-03-31 09:05:51 +02:00
Thavarasa Prasanth
4097c6d66c
fix missing title attribute on <iframe> tag suggested for embedding (#3901)
* title attribute is missing on <iframe> tag suggested for embedding #3861

* fix #3901

* fix: escapeHTML #3901

* fix: playlist title instead of video title #3901

* fix #3901

* assign title directly #3901
2021-03-31 08:32:05 +02:00
kontrollanten
cf3c36247d
show less information by default in download modal (#3890)
* client(video/download): collapse advanced informaton by default
* fix(client/video-dl): update metadata upon resolution change

closes #3810

Co-authored-by: Rigel Kent <par@rigelk.eu>
2021-03-29 13:51:33 +02:00
ltsallas
088447758f Add 1.75 option to playback rates 2021-03-26 08:38:27 +01:00
Chocobozzz
5aa7abf1e6
Fix build 2021-03-24 18:18:41 +01:00
Chocobozzz
a3664dfdc9
Auto focus plugin search input 2021-03-24 18:18:41 +01:00
kontrollanten
7bd455cb7f
client(video/download): set direct dl as default 2021-03-24 18:18:41 +01:00
Chocobozzz
faeec106ef
Add auth user client hook actions 2021-03-24 18:18:41 +01:00
Chocobozzz
2e257e36b7
Add client action hooks for pubish pages 2021-03-24 18:18:41 +01:00
Chocobozzz
4bc45da342
Add hooks support for video download 2021-03-24 18:18:41 +01:00
Chocobozzz
c0ab041c2c
Upgrade client dependencies 2021-03-24 18:18:41 +01:00
kontrollanten
6b1ef95699
Change copy icon (#3867)
* client: change copy icon to glypicon-duplicate

* client: add "copy" text to copy icons
2021-03-24 18:18:41 +01:00
Chocobozzz
f43db2f46e
Refactor auth flow
Reimplement some node-oauth2-server methods to remove hacky code needed by our external
login workflow
2021-03-24 18:18:41 +01:00
Chocobozzz
32a18cbf33
Add new plugin/peertube version notifs 2021-03-24 18:18:41 +01:00
Chocobozzz
829523cfa5
Reduce bundle size using a const enum 2021-03-24 18:18:40 +01:00
Chocobozzz
5d43dae369
Try to reduce CSS size 2021-03-24 18:18:40 +01:00