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

Fix: websockets, error handling, and issues with unauthenticated users #244

Merged
merged 134 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
df1b38a
wip
msisaifu Jan 26, 2023
fa7428e
Merge branch 'dev' into fix-banned-and-maintanance-auth
msisaifu Jan 26, 2023
d6586b2
fix banned user
msisaifu Jan 26, 2023
602d3b1
Merge pull request #217 from msisaifu/fix-banned-and-maintanance-auth
gagansuie Jan 26, 2023
22f52a5
fix maintenance mode
msisaifu Jan 26, 2023
bd39a91
Merge branch 'dev' into fix-banned-and-maintanance-auth
msisaifu Jan 26, 2023
59d97d6
Merge branch 'CodeCrowCorp:main' into fix-banned-and-maintanance-auth
msisaifu Jan 26, 2023
82ea317
fixed ban user to logout
msisaifu Jan 26, 2023
1350c6f
Merge pull request #220 from msisaifu/fix-banned-and-maintanance-auth
gagansuie Jan 26, 2023
33b5de7
Fix: removed onhover of profile more icon
gagansuie Jan 27, 2023
eb67ed9
Chore: code cleanup
gagansuie Jan 27, 2023
2ee1785
create channel drawer wip
prokawsar Jan 27, 2023
7f3c150
UI build
prokawsar Jan 27, 2023
3b5b2dd
fix
prokawsar Jan 27, 2023
a1006ec
fix modal bindings
prokawsar Jan 27, 2023
1af6ffb
modal UI and drawer fix
prokawsar Jan 27, 2023
af6a4fd
fix drawer
prokawsar Jan 27, 2023
534ca7b
fix channel button
prokawsar Jan 27, 2023
0300da5
width fix
prokawsar Jan 27, 2023
253b826
fix type
prokawsar Jan 27, 2023
fb053a7
responsive fix
prokawsar Jan 27, 2023
0bb04ce
getTags method
prokawsar Jan 27, 2023
8388633
loading tags from api
prokawsar Jan 27, 2023
ed8b7c7
Fix: added headers to all endpoints and fixed logout user
gagansuie Jan 27, 2023
6cfb78a
Merge pull request #222 from gagan-suie/dev
gagansuie Jan 27, 2023
c923984
Merge branch 'dev' into create-channel-drawer
prokawsar Jan 28, 2023
5fd9ae6
create thumbnail
prokawsar Jan 28, 2023
20f0ed9
added tags and fix styling
prokawsar Jan 28, 2023
cee66c1
fixed tag style
prokawsar Jan 28, 2023
563f592
tags done
prokawsar Jan 28, 2023
5b4a05f
image upload
prokawsar Jan 28, 2023
aaf64ed
cleaning
prokawsar Jan 28, 2023
f2edc68
placeholder
prokawsar Jan 28, 2023
4f04079
fix channel object
prokawsar Jan 28, 2023
3af33bd
remove unused
prokawsar Jan 28, 2023
698a2df
fix theming
prokawsar Jan 28, 2023
3ade64d
Fix: added padding on only content
gagansuie Jan 29, 2023
26c90c3
fix: drawer width and top padding
prokawsar Jan 29, 2023
bd438ff
fix ui and width for desktop
prokawsar Jan 29, 2023
d6c3fcd
max tags label
prokawsar Jan 29, 2023
bf0f181
textarea font size fix
prokawsar Jan 29, 2023
6261963
type fix and thumbnail binding
prokawsar Jan 29, 2023
7fa0648
fix width
prokawsar Jan 29, 2023
63b909b
code refactor
prokawsar Jan 29, 2023
3d65bc2
Merge pull request #221 from CodeCrowCorp/create-channel-drawer
gagansuie Jan 29, 2023
c1f16ea
Fix: npm check issues for create channel drawer
gagansuie Jan 29, 2023
943ec18
Merge pull request #223 from CodeCrowCorp/create-channel-drawer
gagansuie Jan 29, 2023
6f79300
Feat: added feature flags to drawer items
gagansuie Jan 30, 2023
82995ec
fix button position
prokawsar Jan 30, 2023
ab9e6af
Add category drawer UI WIP
prokawsar Jan 30, 2023
7b8e87e
seperate loading
prokawsar Jan 30, 2023
c3a4500
remove extra div
prokawsar Jan 30, 2023
259ff0e
remove extra div
prokawsar Jan 30, 2023
047d5c9
add categories
prokawsar Jan 30, 2023
5819811
category select and disabled
prokawsar Jan 30, 2023
9583b6b
bind values
prokawsar Jan 30, 2023
079376a
checked for already include
prokawsar Jan 30, 2023
09d3acb
Chore: formatted stores with prettier and added channel endpoints
gagansuie Jan 30, 2023
0d56ca6
Merge pull request #227 from gagan-suie/dev
gagansuie Jan 30, 2023
a5291e3
Merge pull request #225 from CodeCrowCorp/create-channel-drawer
gagansuie Jan 30, 2023
6e5d81d
Merge branch 'main' of https://github.com/CodeCrowCorp/mage-website i…
gagansuie Jan 30, 2023
ae04538
Merge branch 'dev' of https://github.com/CodeCrowCorp/mage-website in…
gagansuie Jan 30, 2023
e63e569
Feat: added channel section endpoints
gagansuie Jan 30, 2023
a05a0d8
Merge pull request #228 from gagan-suie/dev
gagansuie Jan 30, 2023
985b2bf
assets image seperate json file
prokawsar Jan 31, 2023
433dbf2
add url
prokawsar Jan 31, 2023
c46697e
loaded as seperate
prokawsar Jan 31, 2023
bae80ef
fix logic
prokawsar Jan 31, 2023
ff26b17
fix and bind category icons
prokawsar Jan 31, 2023
d731d5b
remove comment
prokawsar Jan 31, 2023
0002ca1
remove category on click
prokawsar Jan 31, 2023
8c69346
Merge branch 'dev' into search-category-drawer
prokawsar Jan 31, 2023
d3a0bec
fix
prokawsar Jan 31, 2023
378cc89
fix remove logic
prokawsar Jan 31, 2023
bc281a8
first
prokawsar Jan 31, 2023
8c6f465
fix field
prokawsar Jan 31, 2023
acd1076
remove comment
prokawsar Jan 31, 2023
df355ee
search is working
prokawsar Jan 31, 2023
04f4b29
search is done
prokawsar Jan 31, 2023
c9d27d7
fix responsiveness
prokawsar Jan 31, 2023
02f332d
valid check
prokawsar Jan 31, 2023
14d1392
no result found message
prokawsar Jan 31, 2023
4f7be42
no result message nice with icon
prokawsar Jan 31, 2023
e7083e8
Feat: added logic for level bar
gagansuie Jan 31, 2023
80b2fd9
Merge branch 'dev' of https://github.com/CodeCrowCorp/mage-website in…
gagansuie Jan 31, 2023
fdb61f7
Fix: updated level and exp algorithms
gagansuie Jan 31, 2023
4acfa6d
Feat: added SmallDrawer and ChatDrawer for channel page
gagansuie Feb 1, 2023
badb023
Merge pull request #229 from gagan-suie/dev
gagansuie Feb 1, 2023
b755ee3
fix bg
prokawsar Feb 1, 2023
67dcf39
fixed href issue
prokawsar Feb 1, 2023
68fa872
Fix: npm run checks
prokawsar Feb 1, 2023
2ee597d
Merge branch 'dev' into search-category-drawer
prokawsar Feb 1, 2023
979d038
Feat: added channel navigatation and chat drawer
gagansuie Feb 1, 2023
4264bb1
Merge pull request #230 from gagan-suie/dev
gagansuie Feb 1, 2023
3139807
fix button position
prokawsar Feb 1, 2023
45d9317
Fix: headers not sent to all fetch requests
gagansuie Feb 1, 2023
70d3b02
Chore: removed unused code
gagansuie Feb 1, 2023
e51080d
Merge pull request #231 from gagan-suie/dev
gagansuie Feb 1, 2023
2a1563b
Merge branch 'dev' into search-category-drawer
gagansuie Feb 1, 2023
bc7ceee
Fix: added navigate to channel
gagansuie Feb 1, 2023
34c5696
Merge pull request #226 from CodeCrowCorp/search-category-drawer
gagansuie Feb 1, 2023
12434e8
Feat: added chat message and chat drawer
gagansuie Feb 2, 2023
a23c5df
Merge pull request #233 from gagan-suie/dev
gagansuie Feb 2, 2023
d3c24d5
Fix: background color onhover and onclick
gagansuie Feb 2, 2023
79fcc01
Merge pull request #234 from gagan-suie/dev
gagansuie Feb 2, 2023
a7e74ad
wrap with form
prokawsar Feb 2, 2023
0c92e51
tags required not working
prokawsar Feb 2, 2023
2766e83
Add loading state on creating channel state
prokawsar Feb 2, 2023
9924597
Fx: smallDrawer and chat message theming
gagansuie Feb 2, 2023
a50a162
can be used in load()
prokawsar Feb 2, 2023
f0e2a9d
Merge pull request #235 from CodeCrowCorp/form-create-drawer
gagansuie Feb 2, 2023
0ac8fe8
Merge branch 'dev' of https://github.com/CodeCrowCorp/mage-website in…
gagansuie Feb 2, 2023
85241a1
Feat: added socket connections
gagansuie Feb 2, 2023
dd0de87
removed loader
prokawsar Feb 3, 2023
c353e54
make a categoryAssets store
prokawsar Feb 4, 2023
1f12a55
use store for loading assets
prokawsar Feb 4, 2023
46bc032
Fx: rearchitected app to remove excessive store usage
gagansuie Feb 4, 2023
aee96ca
Merge pull request #236 from CodeCrowCorp/form-create-drawer
gagansuie Feb 4, 2023
0ce1705
Merge pull request #237 from CodeCrowCorp/efficient-fetch-call
gagansuie Feb 4, 2023
c75d225
Merge branch 'dev' of https://github.com/CodeCrowCorp/mage-website in…
gagansuie Feb 4, 2023
ffd5174
Merge pull request #238 from gagan-suie/dev
gagansuie Feb 4, 2023
e9e15ed
Fix: skeleton loading design update
gagansuie Feb 4, 2023
5e54b6a
Merge pull request #239 from gagan-suie/dev
gagansuie Feb 4, 2023
2c0d49c
Fix: updated width of carousel loading items
gagansuie Feb 4, 2023
55ac309
Merge pull request #240 from gagan-suie/dev
gagansuie Feb 4, 2023
66d7fe6
Fix: removed useless animate-pulse
gagansuie Feb 5, 2023
ad2b272
Merge pull request #241 from gagan-suie/dev
gagansuie Feb 5, 2023
c64110a
Fix: reverted create channel drawer button and added logo icons
gagansuie Feb 5, 2023
3deb0c8
Merge pull request #242 from gagan-suie/dev
gagansuie Feb 5, 2023
222d032
not clickable when not authorized
prokawsar Feb 5, 2023
b641111
Fix: binded checkbox to showDrawer
gagansuie Feb 5, 2023
23990e2
Fix: websockets, error handling, and issues with unauthenticated users
gagansuie Feb 6, 2023
7369047
Merge branch 'dev' into dev
gagansuie Feb 6, 2023
becc64a
Merge pull request #243 from gagan-suie/dev
gagansuie Feb 6, 2023
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
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ module.exports = {
es2017: true,
node: true
}
};
}
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }],
"semi": false,
"bracketSameLine": true
"bracketSameLine": true,
"arrow-parens": "always"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage-website",
"version": "0.0.2",
"version": "0.0.1",
"license": "GPL-3.0",
"private": true,
"type": "module",
Expand Down Expand Up @@ -39,6 +39,7 @@
"svelte": "^3.55.1",
"svelte-check": "^3.0.2",
"svelte-preprocess": "^5.0.1",
"svelte-tags-input": "^4.0.0",
"svgo": "^3.0.2",
"tailwind-clip-path": "^1.0.0",
"tailwind-scrollbar": "^2.1.0",
Expand Down
25 changes: 14 additions & 11 deletions src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@
// and what to do when importing types

declare namespace App {
interface Locals {
user: {
token?: string
userId?: string
user?: object
}
}
// interface PageData {}
// interface Error {}
// interface Platform {}
interface Locals {
user: {
token?: string
userId?: string
user?: object
}
isBanned?: boolean
}
// interface PageData {}
// interface Error {}
// interface Platform {}
}

declare const __VERSION__ : string
declare const __VERSION__: string

declare module 'svelte-tags-input'
12 changes: 6 additions & 6 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
%sveltekit.head%
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
%sveltekit.head%
</head>

<body
class="scrollbar-thin scrollbar-thumb-[#aeaeae] scrollbar-track-[#25252A] overflow-y-scroll scrollbar-thumb-rounded">
<div style="display: contents">%sveltekit.body%</div>
class="scrollbar-thin scrollbar-thumb-[#aeaeae] scrollbar-track-[#25252A] overflow-y-scroll scrollbar-thumb-rounded">
<div style="display: contents">%sveltekit.body%</div>
</body>

</html>
Loading