Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge release 3.1.0 to main #60

Merged
merged 238 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
238 commits
Select commit Hold shift + click to select a range
4fd241e
First commit to dev
juanpabloventoso Dec 3, 2021
58c1531
Completed adding pseudonym, login and register
bimalghartimagar Dec 7, 2021
a107689
Added message to show when no channels available
bimalghartimagar Dec 7, 2021
f85c568
Added navigation guard for invalid access
bimalghartimagar Dec 7, 2021
a736b11
Used major error from store to display error
bimalghartimagar Dec 7, 2021
08f1f75
Updated yarn lock
bimalghartimagar Dec 7, 2021
330623c
clean up comments
bimalghartimagar Dec 7, 2021
e03807c
Updated sorting keys for channels #15
bimalghartimagar Dec 8, 2021
471d7d4
WIP changes for using one time login
bimalghartimagar Dec 8, 2021
589eb64
WIP changes for one time login
bimalghartimagar Dec 8, 2021
d3cf3e6
Merge branch '15-add-backend-call-for-user-registration' of github.co…
bimalghartimagar Dec 8, 2021
20fe03a
Added reusable modal
bimalghartimagar Dec 8, 2021
389f569
Handling edge cases and reactivity
bimalghartimagar Dec 8, 2021
90ffa4b
Changed message and thread count key
bimalghartimagar Dec 8, 2021
0f7fdd4
typo fix
bimalghartimagar Dec 8, 2021
4df2dc5
Merge pull request #1 from berkmancenter/14-consume-backend-auth-apis
dylanwooters Dec 10, 2021
ade4c39
Changes for creating thread #28
bimalghartimagar Dec 10, 2021
7ec00c0
Renamed component to match feature
bimalghartimagar Dec 10, 2021
f4ed05e
Added appending of message
bimalghartimagar Dec 11, 2021
47c60f0
fixed minor issue with default state
bimalghartimagar Dec 11, 2021
2ccc6d7
Merge pull request #3 from berkmancenter/28-create-dialog-for-channel…
juanpabloventoso Dec 13, 2021
c10e86a
Merge pull request #2 from berkmancenter/15-add-backend-call-for-user…
juanpabloventoso Dec 13, 2021
170c299
feat: load thread details on message page
bimalghartimagar Dec 13, 2021
e58f935
clean: cleanup code
bimalghartimagar Dec 13, 2021
3bd9454
Merge pull request #4 from berkmancenter/23-add-channel-topic-and-thr…
perusiongreg Dec 14, 2021
e4cd8d9
Change login banner design
bimalghartimagar Dec 14, 2021
1c5151d
Updated signup and login page
bimalghartimagar Dec 14, 2021
a6f7c3c
Merge pull request #5 from berkmancenter/22-auth-button-changes
juanpabloventoso Dec 14, 2021
a7b2343
hotfix: pseudonym in message
bimalghartimagar Dec 15, 2021
dd11efb
Generate new pseudonym for logged in user
bimalghartimagar Dec 16, 2021
20325e3
Activate token from the list of tokens
bimalghartimagar Dec 16, 2021
2d5f5b0
Prevent creating more than 5 pseudonym
bimalghartimagar Dec 16, 2021
a49a2b9
removed no longer necessary files
bimalghartimagar Dec 16, 2021
9544a3d
Added search and sort for featured channel
bimalghartimagar Dec 16, 2021
c839d9b
Call either public or authorized channels endpoint
bimalghartimagar Dec 16, 2021
bc28368
Updated message count to show on threads list
bimalghartimagar Dec 16, 2021
2cf2c0a
Updated condition when evaluating existing pseudonyms
juanpabloventoso Dec 16, 2021
cffc31f
Merge pull request #6 from berkmancenter/34-create-new-pseudonym-for-…
juanpabloventoso Dec 16, 2021
3d8a246
Merge pull request #7 from berkmancenter/35-featured-channels-list-up…
juanpabloventoso Dec 16, 2021
f7f73a3
Basic websocket connection complete
bimalghartimagar Dec 16, 2021
23b721a
fix: scroll to bottom with nexttick
bimalghartimagar Dec 16, 2021
0d0694e
Changes to complete create channels feature
bimalghartimagar Dec 17, 2021
1bf85f8
reduce gaps in banner section
bimalghartimagar Dec 17, 2021
8850eff
move modal classes to modal component
bimalghartimagar Dec 17, 2021
97e4213
Pseudonym delete feature
bimalghartimagar Dec 17, 2021
a21459f
Voting feature
bimalghartimagar Dec 17, 2021
b5809d3
update navigation guard for loading threads as guest
bimalghartimagar Dec 17, 2021
e1c3a01
Merge pull request #10 from berkmancenter/list-and-delete-pseudonyms
juanpabloventoso Dec 20, 2021
f94376a
Updated linkable pages to be accessed publicly, automatically creatin…
juanpabloventoso Dec 20, 2021
c8d26e7
Added comments
juanpabloventoso Dec 20, 2021
82b855a
Added autocomplete tag list and pseudonym click
juanpabloventoso Dec 21, 2021
bcd8a19
Merge pull request #11 from berkmancenter/36-downvoting-and-upvoting-…
juanpabloventoso Dec 22, 2021
ee1d7f5
Merge pull request #12 from berkmancenter/38-page-linkable-by-url
juanpabloventoso Dec 22, 2021
6184e5e
Merged with latest dev
juanpabloventoso Dec 22, 2021
515f3a2
Merge pull request #13 from berkmancenter/39-tagging-autocomplete
juanpabloventoso Dec 22, 2021
c03bf33
Fixed different small bugs
juanpabloventoso Dec 22, 2021
8f24157
Removed commented code
juanpabloventoso Dec 22, 2021
290906f
Added instructions to run app for dev on readme
bimalghartimagar Dec 23, 2021
9a4e734
Changes to complete messaging feature
bimalghartimagar Dec 23, 2021
ba333aa
Fixed graying of downvoted message
bimalghartimagar Dec 27, 2021
6866d9d
Refactor tagging feature
bimalghartimagar Dec 27, 2021
30c3eb8
minor fix: horizontol scrollbar height style
bimalghartimagar Dec 27, 2021
3f612aa
Remove pseudonym dropdown list for guest login
bimalghartimagar Dec 27, 2021
b90563e
Fixed bug with users list not appearing
juanpabloventoso Dec 27, 2021
327ae65
Login and redirect change
bimalghartimagar Dec 27, 2021
c2ca278
Merge branch 'dev' of github.com:berkmancenter/threads_client into dev
bimalghartimagar Dec 27, 2021
d271f9f
Changes to format tagged pseudonym in message
bimalghartimagar Dec 27, 2021
8a73df8
Fixed selection and replacement of half typed tag
bimalghartimagar Dec 27, 2021
9631a65
Fixed minor issue with tag replacement
bimalghartimagar Dec 27, 2021
48d6262
Changes to tagging styling to match mockup
bimalghartimagar Dec 29, 2021
872a235
Enable guest user to only upvote, prevent downvote
bimalghartimagar Dec 29, 2021
39c2a1c
Feat: Login guest on first visit
bimalghartimagar Dec 29, 2021
52ea7ac
fix: display button text, remove template
bimalghartimagar Dec 29, 2021
ac274d4
Updated footer link to Threads project discussion board in GitHub
juanpabloventoso Dec 29, 2021
84dbed2
fix: update text area with pseudonym
bimalghartimagar Dec 29, 2021
e4eece3
default selection after closing popup
bimalghartimagar Dec 29, 2021
e9c57be
Updated top banner and popup
juanpabloventoso Dec 30, 2021
e5d9469
Added hint to the create pseudonym button
juanpabloventoso Dec 30, 2021
749e3ab
Updated tag list window styles and upvote/downvote class assignment
juanpabloventoso Dec 30, 2021
fbab80f
fix: apply adjustSelect only for normal user
bimalghartimagar Dec 31, 2021
33b6b41
style fix: making disabled look and feel distinct
bimalghartimagar Dec 31, 2021
4d0f12f
Merge pull request #14 from berkmancenter/43-changes-to-the-top-banner
bimalghartimagar Dec 31, 2021
1942cf4
Merge pull request #15 from berkmancenter/44-changes-to-the-messages-…
bimalghartimagar Dec 31, 2021
de14172
Added pin changes for threads #45
bimalghartimagar Dec 31, 2021
c2f27d3
Hide create channel for guest user
bimalghartimagar Dec 31, 2021
a4a341c
Added changes to get email as input #46
bimalghartimagar Dec 31, 2021
cb91257
Update signup page #47
bimalghartimagar Dec 31, 2021
9dfb14d
Password reset feature #47
bimalghartimagar Jan 4, 2022
c112b0e
Delete channel feature :46
bimalghartimagar Jan 4, 2022
ea43f0d
Made a few minor CSS changes
juanpabloventoso Jan 5, 2022
8928a5c
Merge pull request #16 from berkmancenter/45-allow-to-pin-channels-an…
juanpabloventoso Jan 5, 2022
365a28c
Update channel and email
bimalghartimagar Jan 5, 2022
e4824d2
Hide create channel for guest user
bimalghartimagar Dec 31, 2021
154ec14
Added changes to get email as input #46
bimalghartimagar Dec 31, 2021
8d4a7e6
Delete channel feature :46
bimalghartimagar Jan 4, 2022
0fc16c7
Update channel and email
bimalghartimagar Jan 5, 2022
ef1e0df
Merge branch '46-changes-to-the-channel-creation-deletion' of github.…
bimalghartimagar Jan 5, 2022
a1d9410
Update signup page #47
bimalghartimagar Dec 31, 2021
c6bfd96
Password reset feature #47
bimalghartimagar Jan 4, 2022
78db959
Register user with email completed
bimalghartimagar Jan 5, 2022
3450eab
Merge branch '47-changes-to-the-login-and-signup-pages' of github.com…
bimalghartimagar Jan 5, 2022
72e5a1c
Merge pull request #17 from berkmancenter/46-changes-to-the-channel-c…
bimalghartimagar Jan 5, 2022
c2ad856
Merge pull request #18 from berkmancenter/47-changes-to-the-login-and…
bimalghartimagar Jan 5, 2022
2dae8c9
Small fixes to close icons not working and error thrown when email is…
juanpabloventoso Jan 5, 2022
9c7ad8a
Add lazyloading and chunking for performance
bimalghartimagar Jan 5, 2022
9d4477d
Update readme file for deployment
bimalghartimagar Jan 5, 2022
bb67d2f
Reset password page to change password #55
bimalghartimagar Jan 6, 2022
a01abf7
Merge pull request #19 from berkmancenter/55-add-page-to-rest-password
juanpabloventoso Jan 6, 2022
39d76d3
Pin Channels changes #45
bimalghartimagar Jan 7, 2022
63840b9
Added email to udpate an create channel endpoint
bimalghartimagar Jan 10, 2022
e2f6076
Show/Hide voting section using channel data
bimalghartimagar Jan 10, 2022
1dc5839
Changes to toggle vote
bimalghartimagar Jan 10, 2022
7eecc4b
Merge pull request #20 from berkmancenter/45-allow-to-pin-channels
juanpabloventoso Jan 10, 2022
3c227f9
Changes to show default email on create channel
bimalghartimagar Jan 10, 2022
182ed48
Merge pull request #21 from berkmancenter/54-use-email-in-channel-dialog
juanpabloventoso Jan 10, 2022
df94682
Updated disable voting logical mapping
bimalghartimagar Jan 10, 2022
8c04f62
Merge remote-tracking branch 'origin/dev' into 58-refactor-voting-cha…
bimalghartimagar Jan 10, 2022
6695524
Changes to send empty archive email to channel
bimalghartimagar Jan 10, 2022
253bd3b
Changed the path parameter on the socket service hoping to fix the is…
juanpabloventoso Jan 11, 2022
85fa32e
Fixed websocket path name parsing and passing
bimalghartimagar Jan 11, 2022
0a70406
minor fix for path name
bimalghartimagar Jan 11, 2022
83fd54a
updated websocket protocol
bimalghartimagar Jan 11, 2022
9711360
Control to show version number #60
bimalghartimagar Jan 11, 2022
75aebd5
Merge remote-tracking branch 'origin/dev' into 60-add-version-number-…
bimalghartimagar Jan 11, 2022
50b461e
Merge pull request #22 from berkmancenter/58-refactor-voting-changes
dylanwooters Jan 11, 2022
e4c3c38
Merge pull request #23 from berkmancenter/60-add-version-number-to-th…
dylanwooters Jan 11, 2022
b939b7a
Fix #60: clicking x not closing dialog window
bimalghartimagar Jan 12, 2022
ca71988
fix #52: remove starred from sort by dropdown
bimalghartimagar Jan 12, 2022
615fbfd
fix #63: channels hidden when all are bookmarked
bimalghartimagar Jan 12, 2022
8ff6939
use good reputation to enable voting
bimalghartimagar Jan 12, 2022
72bc33d
Bug fixes reported by Sarah #52
bimalghartimagar Jan 12, 2022
743746c
users with good reputation only can downvote #52
bimalghartimagar Jan 13, 2022
acdab30
Fix auto scroll down of new messages
bimalghartimagar Jan 17, 2022
218e284
Fix auto vanishing of pseudonym
bimalghartimagar Jan 17, 2022
1b68fa3
Make votes readable and distinct
bimalghartimagar Jan 17, 2022
549e363
Message text area changes
bimalghartimagar Jan 18, 2022
fb7f332
Toggle chat only changes
bimalghartimagar Jan 18, 2022
ec61d1c
Rename Featured Channels to Channels
bimalghartimagar Jan 18, 2022
d302886
Added navlinks to on headers
bimalghartimagar Jan 18, 2022
b7215fb
Update github text and logo on footer section
bimalghartimagar Jan 18, 2022
607edfb
Add link to github dev branch from version number
bimalghartimagar Jan 18, 2022
54b089c
Merge pull request #24 from berkmancenter/68-messages-section-bugs
bimalghartimagar Jan 18, 2022
89628fd
Merge pull request #25 from berkmancenter/69-hard-to-read-the-number-…
bimalghartimagar Jan 18, 2022
789b2cd
Merge pull request #27 from berkmancenter/71-landing-page-and-channel…
bimalghartimagar Jan 18, 2022
77a9f78
Message text area changes
bimalghartimagar Jan 18, 2022
e31ea90
Toggle chat only changes
bimalghartimagar Jan 18, 2022
2a3b2bd
Merge branch '70-message-text-area-changes' of github.com:berkmancent…
bimalghartimagar Jan 18, 2022
338018f
Merge pull request #26 from berkmancenter/70-message-text-area-changes
bimalghartimagar Jan 18, 2022
f68e2ec
Fixes #358 except 1 and 4, bump up beta version
bimalghartimagar Jan 18, 2022
a14eef9
Fixes #66 except 1 and 4, bump up beta version
bimalghartimagar Jan 18, 2022
24d842a
Merge branch 'dev' of github.com:berkmancenter/threads_client into dev
bimalghartimagar Jan 18, 2022
bc31e97
hotfix: make upvote black if voted
bimalghartimagar Jan 18, 2022
736be96
Integrated WS changes for threads and voting
bimalghartimagar Jan 19, 2022
c36e17b
Merge pull request #28 from berkmancenter/threads-votes-via-ws
dylanwooters Jan 19, 2022
5062be6
Incremented version for new websocket updates.
dylanwooters Jan 19, 2022
6ba7a75
Fixed banner button and text alignment
bimalghartimagar Jan 19, 2022
f6476d6
Updated styles to wrap text with end ellipsis
juanpabloventoso Feb 9, 2022
5b01e8e
Used Tailwind classes whenever possible
juanpabloventoso Feb 9, 2022
afbd433
Corrected site-wide font issue.
dylanwooters Mar 1, 2022
cfd3144
Added event call for topic and thread disconnect
bimalghartimagar Mar 3, 2022
ea453ed
Introduced singleton pattern for socket service
bimalghartimagar Mar 3, 2022
6515fdf
Merge pull request #29 from berkmancenter/73-bug-long-titles-dont-wra…
bimalghartimagar Mar 7, 2022
b28e667
Merge pull request #30 from berkmancenter/81-bug-messages-appear-twice
bimalghartimagar Mar 7, 2022
762004d
Added changes for deleting and editing thread
bimalghartimagar Mar 29, 2022
819b2d9
Add lock thread changes, msgs on thread action
bimalghartimagar Mar 29, 2022
5bf0aa1
Use owner id to hide show thread action buttons
bimalghartimagar Mar 29, 2022
3091a88
Merge pull request #31 from berkmancenter/32-thread-lock-edit-delete
juanpabloventoso Mar 29, 2022
5463aaf
Added thread lock icon on threads list
bimalghartimagar Apr 7, 2022
002d69d
Add owner in new thread to show action buttons
bimalghartimagar Apr 8, 2022
da568ef
Move login button to navbar, wipe button section
bimalghartimagar Jul 11, 2022
f33c1c6
Add router watcher and change welcome message
bimalghartimagar Jul 11, 2022
04b51ca
Merge pull request #32 from berkmancenter/bimal/86-move-login-button-…
bimalghartimagar Jul 12, 2022
51715fd
feat(#87): channel owner can take actions on threads
bimalghartimagar Jul 25, 2022
347b0eb
feat(#90): promise dialog feature for thread draft
bimalghartimagar Jul 26, 2022
a02ce8a
Merge pull request #33 from berkmancenter/87-topic-owner-lock-delete-…
dylanwooters Jul 27, 2022
e3c7d6b
Merge pull request #34 from berkmancenter/90-prompt-before-navigating…
dylanwooters Jul 27, 2022
9a4f25b
login(#84): add contact email to login screen
bimalghartimagar Jul 28, 2022
f53a8aa
update(edit thread): real time lock thread and prevent message
bimalghartimagar Aug 4, 2022
23a10f1
Merge pull request #36 from berkmancenter/88-thread-update-socket
dylanwooters Aug 9, 2022
6599351
fix(websockets): Add disconnect handler
bimalghartimagar Nov 21, 2022
3fee8e7
feat: add thread creation allowed property to channel and associated …
NicholasPiano Dec 15, 2022
25c3f24
Merge pull request #37 from berkmancenter/npiano/disable-thread-creation
bimalghartimagar Dec 21, 2022
7a86895
feat: show message box even when thread is locked
NicholasPiano Jan 12, 2023
e894f6d
feat: update thread when clicking lock icon
NicholasPiano Jan 12, 2023
9847c5b
feat: make sure latest locked status is reflect in non-admin UI
NicholasPiano Jan 12, 2023
0a0b98e
Merge pull request #38 from berkmancenter/npiano/thread-locking-changes
jsdiaz Jan 13, 2023
fb75539
feat: update locking text
NicholasPiano Jan 16, 2023
b849c65
Merge pull request #39 from berkmancenter/npiano/thread-locking-changes
jsdiaz Jan 17, 2023
6c2fff8
feat: add pseudonym mismatch message
NicholasPiano Jan 25, 2023
0dadd20
feat: prevent send when pseudonym mismatch
NicholasPiano Jan 25, 2023
dec658c
feat: re-order requests to ensure resource availability
NicholasPiano Feb 9, 2023
938ad7f
fix: add utility to check token expiry and reset if necessary before …
NicholasPiano Feb 9, 2023
1313b0e
Merge pull request #40 from berkmancenter/npiano/thread-pseudonym
jsdiaz Feb 13, 2023
efbe8ab
feat: replace threads with nymspace
NicholasPiano Apr 10, 2023
f09fc56
Merge branch 'dev' into npiano/rebrand
NicholasPiano Apr 10, 2023
465a5ff
feat: add caching step for each message
NicholasPiano Apr 27, 2023
ca01198
feat: display message on error
NicholasPiano May 1, 2023
a4f9c67
fix: correctly process errors and allow websocket refresh token
NicholasPiano May 8, 2023
aa0a0b8
fix: prevent request from repeating
NicholasPiano May 9, 2023
fde5d62
Merge pull request #41 from berkmancenter/npiano/rebrand
jsdiaz May 25, 2023
d72cba0
Merge branch 'dev' into npiano/fix-timing-bug
NicholasPiano May 25, 2023
33124c7
Merge pull request #42 from berkmancenter/npiano/fix-timing-bug
NicholasPiano May 25, 2023
f9c3af5
fix: clear text box even if the request is missing
NicholasPiano Nov 9, 2023
3f2ec5b
chore: update packages
NicholasPiano Nov 14, 2023
f2a0997
Merge pull request #43 from berkmancenter/npiano/fix-clear-textbox
jsdiaz Nov 14, 2023
b154284
Prevent errors in socket service for logged-out users, addresses #45.
boazsender Jul 22, 2024
46dc499
Add mobile friendly single column view. Supports issue #45.
boazsender Aug 5, 2024
9be1efd
Add favicon. Supports issue #45.
boazsender Aug 5, 2024
6d12ce5
Update message page to join all threads in channel so we get message …
boazsender Aug 7, 2024
c8ae648
Show 'new messages' notice when a new message comes in and the user i…
boazsender Aug 7, 2024
794689c
Reorganize voting buttons to make them clearer and more interactable.…
boazsender Aug 7, 2024
d9e86f6
Adjust css for long message wrapping and remove timeFromNow. Supports…
boazsender Aug 7, 2024
49a1233
Remove dead time consts from utils. Supports #45
boazsender Aug 7, 2024
289cd3d
Bring 'new messages' snack bar to front. Supports #45
boazsender Aug 7, 2024
f63e9b2
Update 'begining of thread message'. Supports #45.
boazsender Aug 9, 2024
d54dca1
Gaurd against undefined computed prop on threads page. Supports #45.
boazsender Aug 9, 2024
dbc45c8
Change message count to new smaller property for performance. Support…
boazsender Aug 9, 2024
6e8b116
Roll back hero icons, add native implementations of socket.io deps. S…
boazsender Aug 9, 2024
29df54f
Unsubscribe all message:new io events before subbing a new one on rec…
boazsender Aug 9, 2024
7ee012e
Add sending state to messages taking more than 100ms to deliver. Supp…
boazsender Aug 14, 2024
908cf81
Protect against ghost threads. Supports #45.
boazsender Aug 14, 2024
ae32bd5
Style downvotes in the same way as upvotes. Supports #45.
boazsender Aug 14, 2024
c9e016c
Attempt some mobile polish. Supports #45.
boazsender Aug 14, 2024
5711978
fix mobile polish bug for logged out users
boazsender Aug 15, 2024
af704d3
switch to websockets first
boazsender Aug 15, 2024
7d6a1a0
Chore: Add stress test to repo. Supports #45.
boazsender Aug 21, 2024
1c531f5
Chore: Make the readme make sense. Supports #45.
boazsender Aug 21, 2024
a015e0e
Chore: bump version. Supports #45.
boazsender Aug 21, 2024
21aaffb
Fix final items from 2nd playtest and adjust styles. Supports #45.
boazsender Aug 22, 2024
32f182d
Add custom base path support to system. Supports #45.
boazsender Aug 22, 2024
699865a
Carry updated styles over to additional pages. Supports #45.
boazsender Aug 22, 2024
4822ba9
Polish mobile experience based on ios QA. Supports #45.
boazsender Aug 22, 2024
268c5b2
Polish long title handling. Supports #45.
boazsender Aug 27, 2024
e59c070
Polish ui and add vite base config. Supports #45.
boazsender Aug 28, 2024
3da7274
Fix env management in vite config. Supports #45.
boazsender Aug 28, 2024
b58a3af
Disable messaging for deleted psuedonyms. Supports #45.
boazsender Aug 28, 2024
6d532cc
Fix pathing for subdir support. Supports #45.
boazsender Aug 28, 2024
9030d62
Temporarily disable pseudonym deletion with comments. Supports #45.
boazsender Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .browserslistrc

This file was deleted.

9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BASE_URL=https://localhost:7878
API_SERVER_URL=http://localhost:3000
WEBSOCKET_SERVER_URL=http://localhost:5555
VITE_API_SERVER_URL=http://localhost:3000
VITE_API_VERSION=v1
VITE_WEBSOCKET_SERVER_URL=http://localhost:5555
28 changes: 12 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
module.exports = {
root: true,
env: {
browser: true,
es6: true,
node: true,
// https://eslint.vuejs.org/user-guide/#compiler-macros-such-as-defineprops-and-defineemits-generate-no-undef-warnings
"vue/setup-compiler-macros": true,
},

// the ts-eslint recommended ruleset sets the parser so we need to set it back
parser: 'vue-eslint-parser',

extends: ['plugin:vue/vue3-essential', 'eslint:recommended', 'plugin:prettier/recommended'],

extends: [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:prettier/recommended",
"prettier",
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error'
},

overrides: [
{
files: ['*.js'],
},
],
}
};
84 changes: 63 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,69 @@
.DS_Store
node_modules
/dist
.DS_Store
dist
dist-ssr
*.local

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# local env files
.env.local
.env.*.local
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# vuepress build output
.vuepress/dist

# Editor directories and files
# Serverless directories
.serverless

# IDE / Editor
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Git
*.diff
*.patch
*.bak

# Service worker
sw.*

# macOS
.DS_Store

# Vim swap files
*.swp
5 changes: 0 additions & 5 deletions .prettierrc.js

This file was deleted.

1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
15 changes: 0 additions & 15 deletions .stylelintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["johnsoncodehk.volar"]
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"editor.formatOnSave": true,
"eslint.run": "onSave",
"css.lint.unknownAtRules": "ignore",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
23 changes: 0 additions & 23 deletions LICENSE

This file was deleted.

27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# threads client
# Threads Client

## Description

This is the Frontend vue app which depends on the [berkmancenter/threads_server](https://github.com/berkmancenter/threads_client) repo to run.

## Installation

- Install and start [berkmancenter/threads_server](https://github.com/berkmancenter/threads_server).
- Come back to this repo and `yarn install` to install packages.
- Connect backend by copying `.env.example` to `.env.local`. Make sure the ports are correctly configured in threads_server repo.
- Run `yarn dev --port 3001` and browse the app at https://localhost:3001.

## Custom Base Path

You can add a `VITE_PATH=/your/base/path` env variable to the env file and this app will use that for routing.

## Tests

### Unit and integration tests

There are no unit or integration tests in this repo.

### Stress testing

Stress tests can be run from the client repo in the [k6 directory](https://github.com/berkmancenter/threads_client/blob/main/k6).
16 changes: 0 additions & 16 deletions babel.config.js

This file was deleted.

44 changes: 0 additions & 44 deletions commands/build.js

This file was deleted.

42 changes: 0 additions & 42 deletions commands/serve.js

This file was deleted.

Loading