Commit Graph

45 Commits (8d1306e6fcd364cc3e0eadc3adfe54c18e8dd3ce)

Author SHA1 Message Date
Julian Lam 8d1306e6fc feat: use new hooks introduced by
Julian Lam caf5d18238 fix: fallbacks for navbar hiding
Julian Lam 636f853e64 fix: emit console warning if headerEl not found during updatePanelOffset
Barış Soner Uşaklı d5adc6e268 fix: https://github.com/NodeBB/NodeBB/issues/10642
Julian Lam dbb72ba5e3 fix: set up menu and taskbar in hook call instead of window event
Barış Soner Uşaklı e9cebe1867
Webpack5 ()
* webpack changes

* refactor: remove 500-embed.tpl

* fix: admin script

* chore: up compat

* refactor: remove pulling js from modules

* fix: unintentional padding in notification dropdown elements/lists

* revert: zero-out padding in notifications-list (wrong element selector)

* fix: no padding in notification-list dropdown

* refactor: notifications dropdown to use flexbox, fixes nodebb/nodebb#10284

* fix: nodebb/nodebb#10351, refactor chats menu and dropdown to use flexbox as well

this also fixes the regression caused by nodebb/nodebb#10284

* fix: incorrect default panel-offset

* fix: wonky margins on chat list

* fix: nodebb/nodebb#10363, more timestamp oddities

* Remove hardcoded 70px body padding ()

* fix: , eliminate the hardcoded 70px padding in the body element

This also has the nice side effect of simplifying a lot of the panel-offset styling

* fix: adjust topic header distance from top of page

* style: fix spacing

* feat: save panelOffset into localStorage, read by core

* fix: hide post-tools dropdown menu by default, made visible when menu options are loaded (see nodebb/nodebb@690ec2d59

Co-authored-by: Julian Lam <julian@nodebb.org>
Barış Soner Uşaklı b105b30495 prevent crash
Julian Lam 4cc29f77f3 fix: remove client-side logic to add `mobile-side-menu` option to user settings page
Julian Lam 3847f603db refactor: move persona settings to dedicated user page
Julian Lam 758743220d feat: added client-size hook to enable configuration of navbar hiding, closes
Barış Soner Uşaklı abe597b649 refactor: fix race condition for chat/notif timeago. css tweaks
Barış Soner Uşaklı 8be0d88c26 feat: chat tweaks, fix colors in skins
make buttons same order as modal
better search placeholder text
prevent negative offsets
Barış Soner Uşaklı cf696ceb15 https://github.com/NodeBB/NodeBB/issues/6388
Barış Soner Uşaklı 85bb5b4a53 quick search
Barış Soner Uşaklı ca570479b5 refactor: mobile menu
Barış Soner Uşaklı e4c7d29b4f feat: use route for id
Barış Soner Uşaklı d17e413642 feat: https://github.com/NodeBB/NodeBB/issues/9506
Julian Lam 35affd72db fix: , maintain cover offset in LESS
Julian Lam 430dfd592b style: lint public/persona.js
Barış Soner Uşaklı d675a1a080 refactor: alerts
Barış Soner Uşaklı 2ef0562b1a refactor: lint/alerts
Barış Soner Uşaklı f46755cf33 Merge branch 'master' of https://github.com/NodeBB/nodebb-theme-persona
Barış Soner Uşaklı 3db51e5064 refactor: dont use app.alert
Julian Lam ca533f1c14 refactor: change fixHeaderPadding to updatePanelOffset
Save css variable to html element instead of updating padding-top via js.
Fixes 
Julian Lam 0df49ca71b fix: null checks, +org
Julian Lam 824bf93c68 refactor: header padding calculations [breaking]
- Rewrote in vanilla js
- Takes into account the actual vertical height of the header from the top of viewport in addition to the header itself
  - Themes often add stuff above the header, and so theme-related hacks will no longer be necessary
Barış Soner Uşaklı 2931b2ba91 fix: remove deco-none for mobile bar
Anton Grigoryev 0a7adc9474
fix: handle multi-send on quick reply ()
Barış Soner Uşaklı e9110563c7 refactor: lint
Julian Lam df02630b25 fix: filter:taskbar.push to use hooks module
Barış Soner Uşaklı bda3373dd4 feat: switch to using api for quick reply
Barış Soner Uşaklı 14f9cab04c fix: don't recreate if env didn't change
Barış Soner Uşaklı 09320f8981 fix: autohide
Barış Soner Uşaklı 50eee8039c feat: update autohiding navbar
Barış Soner Uşaklı e6949532d7 fix: topic-list-header when navbar disappears
psychobunny dee9e6a390 fix: unhandled error
Julian Lam a12a2db061 feat: use api module for favourite morph
Barış Soner Uşaklı 71f8d0b29a fix: move setupTaskbar and mobileMenu to action:app.load
psychobunny a476599df5 fix: topic bar tooltips
Barış Soner Uşaklı 144a5dc55d https://github.com/NodeBB/NodeBB/issues/8734
Julian Lam dfd07e765c fix: remove early click handling for sidebar
superceded by nodebb/nodebb@8437130ec2
Barış Soner Uşaklı 88665a5504
feat: sticky postbar ()
psychobunny f372c9c12d feat: child themes - disable features if it doesn't exist instead of erroring out
psychobunny 13f621319b chore: lint
Barış Soner Uşaklı 31ecf92195 feat: move lib to public so grunt properly builds client side