Barış Soner Uşaklı
a9f81215cf
fix: only render preview on topic page
2021-12-21 11:52:16 -05:00
Barış Soner Uşaklı
621c142f8e
refactor: alerts
2021-12-06 16:24:09 -05:00
Barış Soner Uşaklı
cba78aee16
refactor: use alerts.error/success
2021-12-06 14:31:35 -05:00
Barış Soner Uşaklı
1980feed46
refactor: use alerts module
2021-12-06 12:45:35 -05:00
Barış Soner Uşaklı
1a9b15989b
refactor: move search functions from app.js to search module
...
deprecate:
app.handleSearch, use search.init(options) instead
app.enableTopicSearch, use search.enableQuickSearch(options) instead
app.prepareSearch, use search.showAndFocusInput() instead
2021-11-08 21:31:49 -05:00
Barış Soner Uşaklı
41e0240010
fix: dont show previews on mobile
2021-11-05 13:20:13 -04:00
Barış Soner Uşaklı
f728abda06
fix: remove tooltip on ajaxify
2021-11-03 10:52:03 -04:00
Barış Soner Uşaklı
9fbb3b11ef
perf: only load posts once
2021-11-01 18:22:39 -04:00
Barış Soner Uşaklı
5a0efd2d42
fix: don't use # for previews
2021-11-01 15:30:36 -04:00
Barış Soner Uşaklı
8c67031609
feat: show posts previews if enabled on mouse over
2021-11-01 15:09:05 -04:00
Barış Soner Uşaklı
e8c17feedb
refactor: use utils.debounce
2021-10-28 12:00:51 -04:00
Barış Soner Uşaklı
50b2ebf844
fix: remove unused code
2021-10-28 09:46:21 -04:00
Julian Lam
5a328485dd
Revert "fix: only show email confirmation warning toast on pages that it applies"
...
This reverts commit 1bd1cc74a4 .
2021-10-26 14:28:42 -04:00
Barış Soner Uşaklı
64192731a0
refactor: use search api for topic search
2021-10-25 23:12:34 -04:00
gasoved
b0a24d6dd5
refactor: var to const and let ( #9885 )
...
* refactor: var to const and let
* fix: missed global bootbox usage
* refactor: align with eslint expectations
2021-10-12 10:26:18 -04:00
Julian Lam
1bd1cc74a4
fix: only show email confirmation warning toast on pages that it applies
2021-09-01 10:51:04 -04:00
Anton Grigoryev
342503e07a
Feat: Client-side hooks - replace window.trigger ( #9679 )
...
* feat/clientside-hooks: replace window.trigger with hooks.fire
* feat(clientside-hooks): Move hooks require to the top
* fix: simplifying complex logical expression
* fix: client-side hook for translator - post-review fixes
2021-08-13 16:58:37 -04:00
Julian Lam
09bac6bd7e
fix: convert some hooks to use hooks module
...
re: julianlam/nodebb-plugin-markdown#130
2021-06-28 11:33:56 -04:00
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
6669496dba
Navigator ( #9049 )
...
* feat: navigator changes
* fix: remove extra code
* feat: add lang keys
2020-12-04 11:56:10 -05:00
Barış Soner Uşaklı
1d6bcbebde
feat: https://github.com/NodeBB/NodeBB/issues/8147
2020-11-16 21:31:55 -05:00
Barış Soner Uşaklı
9082062e90
fix: sort setting not using correct field name
2020-10-28 16:05:40 -04:00
Julian Lam
c26f2b6599
feat(writeapi): user settings API
2020-10-22 14:07:50 -04:00
Barış Soner Uşaklı
7148be2fd1
feat: allow passing in container to threadTools
2020-09-15 16:05:45 -04:00
Barış Soner Uşaklı
19c448612d
feat: remove global RELATIVE_PATH
2020-09-06 22:12:53 -04:00
Barış Soner Uşaklı
79e847d424
fix : #8558 , only navigate if user is in same topic
2020-08-11 10:20:17 -04:00
Barış Soner Uşaklı
519e665939
fix : #8538 , go to first unread instead of last read
2020-07-31 10:34:10 -04:00
Barış Soner Uşaklı
50703db879
fix : #8363 , dont break history
2020-06-05 18:24:11 -04:00
Barış Soner Uşaklı
0c265a41d4
fix : #8363 , go to hash when entering topic
2020-06-05 17:56:31 -04:00
Julian Lam
f2c725c658
fix: topic search shortcut for macs
2020-05-06 12:55:54 -04:00
Barış Soner Uşaklı
6e5de39ba0
fix: also fix updating bookmark if sorting is newest_to_oldest
2020-02-27 18:56:22 -05:00
Barış Soner Uşaklı
bd640a1107
Topic await errors ( #7727 )
...
* feat: derp await
* feat: restore user.getSettings
* feat: cleanup
* feat: make tid const
* feat: cleanup
* fix: tests
* feat: deprecate filter:controllers.topic.get
* feat: rewrite post-index logic
* feat: change calculation to match others
* fix: use .async
* feat: remove try/catch wrapper
2019-07-03 12:48:26 -04:00
Julian Lam
98c14e0e68
fix: removal of scroll anchoring code in favour of browser handling
...
closes #6150
2018-11-20 16:56:54 -05:00
Barış Soner Uşaklı
1ce15e69ab
dont require search and moustrap on topic page until needed
2018-11-18 10:32:08 -05:00
Barış Soner Uşaklı
c02d584b53
reduce initial js payload/requests
2018-11-17 20:50:07 -05:00
Baris Usakli
c343b93a37
optimize ajaxify
...
- do not call $.timeago twice on topic load and for widgets
- do not use toLocaleString for each timeago string, use a single
Intl.DateTimeFormat instance instead
- do not call format for empty timeago strings, ie a post that isnt
edited doesnt have a timeago string
- do not call isTouchDevice for every element
- remove app.replaceSelfLinks, this is superceded with /me route
- store references to jquery objects in navigator instead of creating
them on every scroll
2018-11-17 14:07:56 -05:00
Julian Lam
c95ad2c46a
closes nodebb/nodebb-theme-persona#339
2018-10-11 14:29:49 -04:00
Ben Lubar
00776bdd8e
Bookmark optimization ( #6315 )
...
* Set the user's bookmark if their current bookmark is past the end of the topic.
* Optimize forked topic bookmark updating.
Remove support for updating bookmarks for users who sort by votes.
Don't even consider updating bookmarks for users who have not read the posts being removed.
Only compute post indices once per fork operation instead of once per user that has ever read the topic.
2018-02-08 10:50:12 -05:00
Barış Soner Uşaklı
96084340ad
closes #6186
2017-12-19 16:03:05 -05:00
Barış Soner Uşaklı
548ec6baf7
closes #6144
2017-12-03 08:32:31 -05:00
Baris Usakli
9dee81b37f
closes #5830
2017-07-14 17:29:31 -04:00
Barış Soner Uşaklı
bca79da8c6
closes #4197
...
add in-topic search support to dbsearch
prevent multiple click handlers on in-topic search widget(each click was
causing multiple scrolls)
fix index
2017-07-12 19:29:41 -04:00
Barış Soner Uşaklı
53a2a7244d
closes #5765
2017-06-20 23:08:12 -04:00
Barış Soner Uşaklı
b13ed26587
closes #5755
2017-06-13 20:15:48 -04:00
Barış Soner Uşaklı
3a1eba2537
merge
2017-05-08 13:49:35 -04:00
barisusakli
73700ed747
closes #5617
2017-04-21 13:48:43 -04:00
Peter Jaszkowiak
30b47d39f3
Fix #5536
2017-04-19 20:33:03 -06:00
barisusakli
5ca8456340
move image code to client/topic/images
2017-03-02 18:11:31 +03:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00