Skip to content
Open

updates #1245

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
3a09f6e
release 3.46.0 (#1228)
aaashir Feb 9, 2024
bdd8640
hotfix: create post bug due to seo permalink
aaashir Feb 10, 2024
aab4d45
beta release 3.67.0-dev
aaashir Feb 13, 2024
943e33c
beta 3.67.1-dev
aaashir Feb 14, 2024
5b0ed48
hotfix: set rpc default (#1231)
gacbaluyot Feb 18, 2024
5e6f8a0
hotfix: white screen bug due to index.html
aaashir Feb 18, 2024
16a96f3
added hidden version number
aaashir Feb 18, 2024
5d4eefd
hotfix: updated helmet reverted helmet generator and index.html
aaashir Feb 18, 2024
94f2585
updated sw
aaashir Feb 19, 2024
8a1da5b
updated sw
aaashir Feb 19, 2024
645f0ab
hotfix: removed password wall
aaashir Feb 19, 2024
a4905cd
reverted changes and added new netlify routes file
aaashir Feb 20, 2024
d8e6440
updated envs
aaashir Feb 21, 2024
262c490
Service Worker update
nathansenn Feb 21, 2024
60adc69
added sentry tracing
gacbaluyot Feb 21, 2024
5d43b33
change in build settings
aaashir Feb 21, 2024
847d9f9
version update
aaashir Feb 21, 2024
62c30df
version update
aaashir Feb 21, 2024
f698290
updated env and version
aaashir Feb 21, 2024
6eda522
updated index.html with cache fix
aaashir Feb 21, 2024
3249ba8
removed redirects
aaashir Feb 21, 2024
205dc09
re-add netlify redirects
aaashir Feb 21, 2024
0c00972
added sentry tracing
gacbaluyot Feb 21, 2024
be31c67
updated version
aaashir Feb 21, 2024
7c83dc0
version update
aaashir Feb 21, 2024
382b348
updated service worker
aaashir Feb 21, 2024
4010d9a
updated sw and version update
aaashir Feb 21, 2024
ab2d7fd
updated version
aaashir Feb 21, 2024
9d287dc
update service worker
stinkymonkeyph Feb 21, 2024
29258be
version 3.67.25
aaashir Feb 21, 2024
b99ee67
Update service-worker.js
stinkymonkeyph Feb 21, 2024
3fc9e35
Update service-worker.js
stinkymonkeyph Feb 21, 2024
9571689
force skip waiting
stinkymonkeyph Feb 21, 2024
f6e0d19
ver 3.67.26
aaashir Feb 21, 2024
ad64e82
ver 3.67.27-dev
aaashir Feb 21, 2024
73b585e
skip waiting then hard refresh
stinkymonkeyph Feb 21, 2024
c7e5c7a
add claim after skipwaiting
stinkymonkeyph Feb 21, 2024
4e0daaf
ver 3.67.28
aaashir Feb 21, 2024
f513336
add skipwating conditions
stinkymonkeyph Feb 21, 2024
dd5e943
update service worker
stinkymonkeyph Feb 21, 2024
1d4159f
Update service-worker.js
stinkymonkeyph Feb 21, 2024
21c0d38
no semicolon fix
stinkymonkeyph Feb 21, 2024
8659196
fix service worker
stinkymonkeyph Feb 21, 2024
e32dbdb
remove semis
stinkymonkeyph Feb 21, 2024
71685ef
remove semis
stinkymonkeyph Feb 21, 2024
5020cac
ver 3.67.29-dev
aaashir Feb 21, 2024
59b016d
Update service-worker.js
stinkymonkeyph Feb 21, 2024
c89bee5
Update service-worker.js
stinkymonkeyph Feb 21, 2024
d3e6e5c
Update service-worker.js
stinkymonkeyph Feb 21, 2024
b3a7aa7
ver 3.67.30-dev
aaashir Feb 21, 2024
face6c6
add instructions
stinkymonkeyph Feb 21, 2024
9c2e432
ver 3.67.31-dev
aaashir Feb 21, 2024
f147b08
fixed lint issues with 3.67.31
aaashir Feb 21, 2024
dc0e49b
ver 3.67.32-dev
aaashir Feb 21, 2024
d27d8cb
3.67.33-dev
aaashir Feb 21, 2024
47a0b02
updated sw file
aaashir Feb 21, 2024
db14099
fixed lint errs
aaashir Feb 21, 2024
6845b4c
3.67.34-dev
aaashir Feb 21, 2024
2d61ae0
increment version
gacbaluyot Feb 23, 2024
219ad3e
increment version
gacbaluyot Feb 23, 2024
50a5016
increment version
gacbaluyot Feb 23, 2024
d40fb5f
increment version
gacbaluyot Feb 23, 2024
17703ad
increment version
gacbaluyot Feb 23, 2024
594b692
increment version
gacbaluyot Feb 23, 2024
99a3410
increment version
gacbaluyot Feb 23, 2024
8c09e61
inc ver
stinkymonkeyph Feb 23, 2024
cfeb2d7
test solution
stinkymonkeyph Feb 23, 2024
5c73b8d
fixed lints
stinkymonkeyph Feb 23, 2024
67fe02b
service worker test
stinkymonkeyph Feb 23, 2024
19316c1
inc version
stinkymonkeyph Feb 23, 2024
8ad2dc8
test
stinkymonkeyph Feb 23, 2024
a38eb6f
inc version
stinkymonkeyph Feb 23, 2024
77558ce
test service worker
stinkymonkeyph Feb 23, 2024
80f32dd
inc version
stinkymonkeyph Feb 23, 2024
23b13cb
test service worker
stinkymonkeyph Feb 23, 2024
cede162
inc version
stinkymonkeyph Feb 23, 2024
ee5cbba
inc version
stinkymonkeyph Feb 23, 2024
80c59ac
test service worker
stinkymonkeyph Feb 23, 2024
21d8d1a
test service worker
stinkymonkeyph Feb 23, 2024
85efb5a
test service worker
stinkymonkeyph Feb 23, 2024
855f10f
test service worker
stinkymonkeyph Feb 23, 2024
a32c20e
test service worker
stinkymonkeyph Feb 23, 2024
88552d0
test service worker
stinkymonkeyph Feb 23, 2024
8e3651f
inc version
stinkymonkeyph Feb 23, 2024
0b75b79
test service worker
stinkymonkeyph Feb 23, 2024
e32fb6b
test service worker
stinkymonkeyph Feb 23, 2024
86b6eda
test service worker
stinkymonkeyph Feb 23, 2024
14f7712
inc version
stinkymonkeyph Feb 23, 2024
cdcb7ba
test service worker
stinkymonkeyph Feb 23, 2024
caecc83
increment version
stinkymonkeyph Feb 23, 2024
729b21e
test service worker
stinkymonkeyph Feb 23, 2024
5feead7
inc version
stinkymonkeyph Feb 23, 2024
a7cf368
test service worker
stinkymonkeyph Feb 23, 2024
96a67f9
inc version
stinkymonkeyph Feb 23, 2024
80e5f5c
test service worker
stinkymonkeyph Feb 23, 2024
86c65c1
test service worker
stinkymonkeyph Feb 23, 2024
06ef2e9
inc version
stinkymonkeyph Feb 23, 2024
8e747f0
test service worker
stinkymonkeyph Feb 23, 2024
ec7446b
test service worker
stinkymonkeyph Feb 23, 2024
d94389b
inc version
stinkymonkeyph Feb 23, 2024
22ad530
test service worker
stinkymonkeyph Feb 23, 2024
1f01ae5
test service worker
stinkymonkeyph Feb 23, 2024
63d8fb3
inc version
stinkymonkeyph Feb 23, 2024
d6d50a7
inc version
stinkymonkeyph Feb 23, 2024
56617cb
test service worker
stinkymonkeyph Feb 23, 2024
886a630
inc version
stinkymonkeyph Feb 23, 2024
9d5ea98
inc version
stinkymonkeyph Feb 23, 2024
a7ec49b
test service worker
stinkymonkeyph Feb 23, 2024
4303a70
inc version
stinkymonkeyph Feb 23, 2024
bb96fcd
test service worker
stinkymonkeyph Feb 23, 2024
581c505
test service worker
stinkymonkeyph Feb 23, 2024
b11a370
test service worker
stinkymonkeyph Feb 23, 2024
2bc5ff3
test service worker
stinkymonkeyph Feb 23, 2024
9581cb0
test service worker
stinkymonkeyph Feb 23, 2024
42926d8
inc version
stinkymonkeyph Feb 23, 2024
7287ac2
test service worker
stinkymonkeyph Feb 23, 2024
b8d9f08
inc version
stinkymonkeyph Feb 23, 2024
7afbfad
test service worker
stinkymonkeyph Feb 23, 2024
88c82b2
inc version
stinkymonkeyph Feb 23, 2024
e22a2f0
rebaselined cleanup
stinkymonkeyph Feb 23, 2024
6f49bfe
inc version
stinkymonkeyph Feb 23, 2024
01d2f29
test service worker
stinkymonkeyph Feb 23, 2024
f768dfb
inc version
stinkymonkeyph Feb 23, 2024
feb029c
reverted back feeds to old stable production
gacbaluyot Feb 23, 2024
7e572e0
reverted back feeds to old stable production
gacbaluyot Feb 23, 2024
908b5c4
try service worker unrgister
gacbaluyot Feb 23, 2024
80d38ed
try service worker
gacbaluyot Feb 23, 2024
fbb7a6e
sentry integrations
gacbaluyot Feb 24, 2024
4eb9fd8
Merge pull request #1235 from d-buzz/feature/sentry-integrations
gacbaluyot Feb 24, 2024
31688ef
fixed service worker
gacbaluyot Feb 24, 2024
fad3b7d
fixed service worker
gacbaluyot Feb 24, 2024
b2c8e8b
service worker update
gacbaluyot Feb 24, 2024
2481418
service worker update
gacbaluyot Feb 24, 2024
99eff7a
service worker update
gacbaluyot Feb 24, 2024
3e8fcfb
service worker update
gacbaluyot Feb 24, 2024
19ae70d
service worker update
gacbaluyot Feb 24, 2024
d1d00c3
release
gacbaluyot Feb 24, 2024
66d98be
release
gacbaluyot Feb 24, 2024
c492ddb
update service worker
stinkymonkeyph Feb 24, 2024
421e178
inc version
stinkymonkeyph Feb 24, 2024
67dc15f
update service worker
stinkymonkeyph Feb 24, 2024
565c4f3
inc version
stinkymonkeyph Feb 24, 2024
9b0401d
update service worker
stinkymonkeyph Feb 24, 2024
883af41
update service worker
stinkymonkeyph Feb 24, 2024
1d321fe
inc version
stinkymonkeyph Feb 24, 2024
c48d234
inc version
stinkymonkeyph Feb 24, 2024
698ab8e
inc version
stinkymonkeyph Feb 24, 2024
b6c3a34
inc version
stinkymonkeyph Feb 24, 2024
f0c3884
fixed feeds permalink bug
aaashir Feb 24, 2024
2af79fb
hotfix: login with posting key not working
aaashir Feb 24, 2024
baa2035
updated build command
aaashir Feb 25, 2024
619240f
removed envs
aaashir Feb 25, 2024
7ff08eb
Merge branch 'production' into beta
aaashir Feb 25, 2024
06099ee
fixes and updates - 3.68.0-dev
aaashir May 11, 2024
8b9d6c7
updates
aaashir Jul 12, 2025
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
61 changes: 61 additions & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
ceramic_user_avatar.svg,1707844292790,d348ec129309f21fa70c7c86fc2917671b1fd53da69afbe0b93ce42c10806892
buzzWidget.js,1707844292790,6d99823ee80e5af0fae622e877107d10c542cc37310794ec09d3e341631f1665
asset-manifest.json,1707844326370,3bfc0e70d0dae08595256e6c8737f20c325d64c703f5b3d931ef672d5457ee02
d.buzz.ico,1707844292791,4c07d0775b946788583dd29d3eb1ab0d580e6aca9323368e7f9bad0ade337c1c
dbuzz-text-logo-white.svg,1707844292792,73b44e660dbc31914dbbbf177c8042ca4c290e6700bc2f598eabe84b33b4d762
dbuzz-text-logo.svg,1707844292792,616d09cb0170ce6d13004be16b3b2d5b503e0b1e577d7a927f1b87946e6e9ade
dbuzz-logo-icon.svg,1707844292791,f070bdc376a31c9900a74d0c4e5b920d21b42e0d4d45291834dcc31abec61b70
dbuzz_full.svg,1707844292793,8a4c746b93c81589a4029b809b7482dfa7608cfdfab4de70dcd268d2a9e73ffb
element.svg,1707844292794,e07788aa3b8c6309efb7ce067eca1e2600c35e66ed650de2dc90ac01862e0ab8
dbuzz-icon.svg,1707844292791,9664e3cdd42d7defc0b96631a6ced055680909e621f563bc0d5903188eb44158
discord.svg,1707844292794,217ebc9c50726177603af65c07bc3640e7d17d83ed4a5434afaa1010a4afcf3a
index.html,1707844326360,c986b33f2be4d0d8d9e07bdb6cd05f61d3799ce925d8bf1c1a7ae50cf5a34339
fontface.css,1707844292795,e468119d997e2fb5ee57ce41efd686b1037dab6a22a34046d11977571193fc28
netlify.toml,1707844292800,931c84c6e2915eb73f4a3494e02883b6ad8f3bc952b199b8eb55ac154f3bf360
manifest.json,1707844292800,db8d8b5b8c1822df6b1b1c3e83852d65b4d5deff31b1e64c5084726c8f389c66
dbuzz.svg,1707844292792,a29fe99c9d2327842b04bfe1f93dedbb91a97eefdf64e95696f97231340b9d38
dbuzz_icon_white.svg,1707844292793,0fd6cba9b0978e8725436086471432cc548e3f2f9b93ffc671ea508c92a24051
service-worker.js.LICENSE.txt,1707844326360,5bcf7ad56e14554ea655f13f3a79ddf6fb23a153bf6028e5bfea9a7a6cd9154d
favicon.ico,1707844292794,4c07d0775b946788583dd29d3eb1ab0d580e6aca9323368e7f9bad0ade337c1c
robots.txt,1707844292801,391d14b3c2f8c9143a27a28c7399585142228d4d1bdbe2c87ac946de411fa9a2
noimage.jpg,1707844292800,ae865d28231c08e1e88a654313e303cc9caa419131566dec93d53cc699efa765
x-white.svg,1707844292802,6cc1873258f3931e7697193054c1e304212593e2f1db53cca5fd304fb151796a
twitter-icon.svg,1707844292801,d7764f8223d8d18ead68754a441192cf45b39128f62e19e4da6d6a2bbb668a10
twitter.svg,1707844292801,33ca52ddce7273a197427cf8f24c888c64b2fdb5599b49d9a6e8b901f6d24355
x.svg,1707844292803,68cd8d35bac74ece53e2fa1dea37d4d696f1ac50d1d301d9245af7f4d1f7cc44
noimage.svg,1707844292801,ff2460db3bed9667a9c5a2855523f3ea4abc2d8dc142127322c537a06ae1c320
images/d.buzz-icon-128.png,1707844292798,2cd5255e5e2f57a3279d674090c9cbfa7b9c4a7a3d5aed3e2f495d159090b894
images/d.buzz-icon-192.png,1707844292798,ce2c69c53fb7f2199e3352cf4c5a123648a8a7d51ab790d63a58eacecf7b3b70
images/d.buzz-icon-152.png,1707844292798,96cca221ed2f0a6a9d90c4187fbc6a9ac2f7311abd54377874398dd4c237ad4f
static/js/205.561d72fd.chunk.js,1707844326363,315556d3cc7d18fe01974f0677ecefa49a6be3f7afc4ce9bcd87f70ae0fa748b
images/d.buzz-icon-196.png,1707844292799,3a67a6b2d1351aa1139adf0c3bb446277bef03329e32a529bde736528108f597
static/js/269.4a9c85cf.chunk.js,1707844326362,31a002d90df70d6b6ec6afab14b8defb96a474e91287d19405e1c2f2a9ea4ca3
images/d.buzz-icon-144.png,1707844292798,a29b1cbfbd84d01eb044a18b093fc37d105baf3e78195d9d488f60504238dea7
static/js/352.004173fc.chunk.js,1707844326362,2a1123352c1aea5ebb3eaecde00eb9d2dcee9284d3d60af1cfa2135b6d2f3f10
static/js/504.0af4f7de.chunk.js,1707844326361,004df989121d64ff3fcf101fef2814a1813e4602a8ce27987f5ecc742ea00eb6
static/js/568.0b800be6.chunk.js,1707844326362,b7583a40723d86dc3b218a2562403e49621a333a654fbefe0ce9afc28ec47ad9
static/js/564.f5f48581.chunk.js,1707844326362,9a1f1d57fe3ef9255e583bd638093835c14d44d652fc0feefa877a8bc2500f9e
static/js/667.b693845f.chunk.js,1707844326362,eec9718f1e41cadb39b3413336c2daf25c0515b64c5d62f3d4b49c51238581ed
static/js/587.e76283f6.chunk.js,1707844326363,539d4f0872bf38d3351b21bc6a9036eee970e20ddc333c19eaa295e0b497900d
static/js/854.74433dab.chunk.js.LICENSE.txt,1707844326363,9e8d4e5e0b43a9d46b1dab8e86eeb2d645fc763809f71e15ee35fa19019a50c6
images/d.buzz-icon-256.png,1707844292799,1ad7659cff9726fc67f2f1315bc374eb513ff1525157ae02a97d5ceb08203611
static/js/774.fae1f24c.chunk.js,1707844326361,e2dacb85daaab0b673eea96d69defd649632068441949fe4a3ec110172ede54c
fonts/Segoe-Bold.woff,1707844292796,e48047c546a4176c10e180a2ed420cf6488481751ba0ee7992506ab0ebf21581
favicon.ico.png,1707844292795,f022fa3ca8a3a3b7f4a96e8d7f8da3e50e2f7bc32873c97edbc4b49564022f6e
fonts/Segoe-Bold.ttf,1707844292796,def74de77139ce338031f0865dae7d3c03ba5b7f3a9075cdddabb720a04b32d2
fonts/Segoe.ttf,1707844292797,e3cb2f4b6df27ba3e4714a6e302431e8c479b581947144a203c1856b579bd7a0
service-worker.js,1707844326360,758d286fee98262553840fa1a280ce767ce870876ec9371d406350b6004ae548
images/d.buzz-icon-512.png,1707844292799,f022fa3ca8a3a3b7f4a96e8d7f8da3e50e2f7bc32873c97edbc4b49564022f6e
static/js/944.8ce914c1.chunk.js,1707844326370,8359e0f194f54717e454659832c622041f514657b9a4586725e7ff390a527819
static/js/main.0b4960e8.js.LICENSE.txt,1707844326370,96266417a71a08252297b1a52779dae8c848fa623820d7ad44338d9905bad4e3
static/media/index.cd351d7c31d0d3fccf96.cjs,1707844326362,97136e0823bc8f99173d1fc926421e9f4108c19160f75e2b5ebef3b00722054f
static/media/resolver.8341148696af66384426.cjs,1707844326361,8597260ce5341da37771ba35f62a1211e89a4bbc2add01bf73ff8be49341cf92
widgets/buzzWidget.js,1707844292802,a0c48438a03a95fee29f3a290397619d4c56f5112861af845367d99e0fe91774
widgets/buzz_button.html,1707844292802,5dc8ec6e578b9813c86ac8fedfb00c0325dbe53c1dd290b230c06bd3846d72b5
static/media/axios.ca46f484446a1aabaf0e.cjs,1707844326361,7b83eb92901dcabab0e4204087e1357b3ff88cdbb0b2dcfdfd82c4012af300e7
static/css/main.d8bbbb1c.css,1707844326362,fbfea4769941c438341d996756bd0c5af3b7ff7143872eb0fb4c9767d05fa6cf
static/media/Segoe-Bold.21ecd6932d8c6e2ae14e.woff,1707844326362,e48047c546a4176c10e180a2ed420cf6488481751ba0ee7992506ab0ebf21581
static/js/991.a4fb68a9.chunk.js,1707844326361,72e2c471a1015583c6872a274f1dbaa93306b78ce8bc9993576917be92de3ef0
static/js/854.74433dab.chunk.js,1707844326370,dd43f5f533c743a4cd6dc1c8e4703b820e6a270040ef15b2aeffee8439b38473
static/js/984.59caac68.chunk.js,1707844326361,4141460ca6a441721aa25ae7a24205de43dc411a9568da6e82eebde7007dba49
static/js/main.0b4960e8.js,1707844326370,eb715477a6a4333b0ed0adaf45568bea281e2886c137d902f6b0ab37626ee1af
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"semi": false
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "d.buzz-client",
"homepage": ".",
"version": "3.45.1",
"version": "3.47.0",
"private": true,
"dependencies": {
"3id-blockchain-utils": "^1.3.1",
"@apollo/client": "^3.7.10",
"@ceramicnetwork/http-client": "^2.35.0",
"@ceramicstudio/idx": "^0.12.2",
Expand All @@ -14,12 +13,14 @@
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.56",
"@mintrawa/hive-auth-client": "^0.0.8",
"@sentry/react": "^7.102.1",
"@sentry/tracing": "^7.102.1",
"@spknetwork/graph-client": "1.2.2",
"@stablelib/sha256": "^1.0.1",
"@walletconnect/ethereum-provider": "^2.10.0",
"@walletconnect/modal": "^2.6.1",
"@walletconnect/time": "^1.0.2",
"3id-blockchain-utils": "^1.3.1",
"axios": "^1.6.0",
"bluebird": "^3.7.2",
"bootstrap": "^4.5.0",
Expand All @@ -43,7 +44,6 @@
"moment": "^2.27.0",
"npm-text-parser": "^1.0.8",
"process": "^0.11.10",
"qrcode.react": "^1.0.1",
"query-string": "^6.13.1",
"react": "^16.13.1",
"react-app-polyfill": "^2.0.0",
Expand Down Expand Up @@ -96,6 +96,7 @@
"start": "PORT=2020 GENERATE_SOURCEMAP=false env-cmd -f .env.development react-app-rewired start",
"build:dev": "env-cmd -f .env.development react-app-rewired build && chmod +X ./change-version.sh",
"build:prod": "env-cmd -f .env.production react-app-rewired build && chmod +X ./change-version.sh",
"build": "react-app-rewired build && chmod +X ./change-version.sh",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint src",
Expand Down Expand Up @@ -163,4 +164,4 @@
"browser": {
"process": "process/browser.js"
}
}
}
1 change: 1 addition & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
8 changes: 5 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@
<meta name="twitter:description" content="D.Buzz | Discover the Buzz | Connect with thought leaders and like-minded individuals on d.buzz. Explore trending topics, share your insights, and join the community today." data-react-helmet="true">
<meta name="twitter:image" content="https://d.buzz/dbuzz.svg" data-react-helmet="true">

<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">

<meta build-version="%REACTBUILDVERSION%"/>

<base href="/">
Expand All @@ -60,4 +62,4 @@
max-width: 1300px;
}
}
</style>
</style>
4 changes: 0 additions & 4 deletions public/netlify.toml

This file was deleted.

2 changes: 1 addition & 1 deletion public/widgets/buzzWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@
__dbuzzwidget.i();
}
};
}));
}));
2 changes: 1 addition & 1 deletion public/widgets/buzz_button.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
const buzzButton=new BuzzButton();buzzButton.i()})
</script>
</body>
</html>
</html>
59 changes: 31 additions & 28 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
import React, { useEffect } from 'react'
import routes from './routes'
import { withRouter } from 'react-router'
import { Init, AuthGuard, ThemeLoader } from 'components'
import { renderRoutes } from 'react-router-config'
import { LastLocationProvider } from 'react-router-last-location'
import { createUseStyles } from 'react-jss'
import { Helmet } from 'react-helmet'
import { redirectOldLinks } from 'services/helper'
import { useLocation } from 'react-router-dom'
const TwitterEmbedAPI = React.lazy(() => import('components/pages/TwitterEmbedAPI'))

const useStyles = createUseStyles(theme => ({
import React, { useEffect } from "react"
import routes from "./routes"
import { withRouter } from "react-router"
import { Init, AuthGuard, ThemeLoader } from "components"
import { renderRoutes } from "react-router-config"
import { LastLocationProvider } from "react-router-last-location"
import { createUseStyles } from "react-jss"
import { Helmet } from "react-helmet"
import { redirectOldLinks } from "services/helper"
import { useLocation } from "react-router-dom"
const TwitterEmbedAPI = React.lazy(
() => import("components/pages/TwitterEmbedAPI"),
)
const useStyles = createUseStyles((theme) => ({
wrapper: {
overflow: 'hidden !important',
overflow: "hidden !important",
backgroundColor: theme.background.primary,
},
}))

const AppWrapper = ({ children }) => {
const classes = useStyles()
return (
<div className={classes.wrapper}>
{children}
</div>
)
return <div className={classes.wrapper}>{children}</div>
}

const App = () => {
const { pathname } = useLocation()
const twitterEmbedRoutes = pathname.match(/^\/twitterEmbed/)
const currentSiteUrl = window.location.protocol + '//' + window.location.host
const currentSiteUrl = window.location.protocol + "//" + window.location.host

useEffect(() => {
// redirect old links to the new ones
Expand All @@ -42,23 +39,29 @@ const App = () => {
<Helmet>
<link rel="canonical" href={currentSiteUrl} />
<meta property="og:title" content="D.Buzz" />
<meta property="og:description" content="D.Buzz | Micro-blogging for HIVE | Connect with thought leaders and like-minded individuals on d.buzz. Explore trending topics, share your insights, and join the community today." />
<meta
property="og:description"
content="D.Buzz | Micro-blogging for HIVE | Connect with thought leaders and like-minded individuals on d.buzz. Explore trending topics, share your insights, and join the community today."
/>
<meta property="og:image" content="https://d.buzz/dbuzz.svg" />
<meta property="title" content="D.Buzz" />
<meta property="description" content="D.Buzz | Micro-blogging for HIVE | Connect with thought leaders and like-minded individuals on d.buzz. Explore trending topics, share your insights, and join the community today." />
<meta
property="description"
content="D.Buzz | Micro-blogging for HIVE | Connect with thought leaders and like-minded individuals on d.buzz. Explore trending topics, share your insights, and join the community today."
/>
<meta property="image" content="https://d.buzz/dbuzz-icon.svg" />
</Helmet>
<LastLocationProvider>
<ThemeLoader>
{!twitterEmbedRoutes ?
{!twitterEmbedRoutes ? (
<Init>
<AuthGuard>
<AppWrapper>
{renderRoutes(routes)}
</AppWrapper>
<AppWrapper>{renderRoutes(routes)}</AppWrapper>
</AuthGuard>
</Init> :
<TwitterEmbedAPI />}
</Init>
) : (
<TwitterEmbedAPI />
)}
</ThemeLoader>
</LastLocationProvider>
</React.Suspense>
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/HelmetGenerator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ const HelmetGenerator = (props) => {
)
}

export default HelmetGenerator
export default HelmetGenerator
8 changes: 4 additions & 4 deletions src/components/common/ImageCropper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ const useStyles = createUseStyles(theme => ({
background: '#F5F8FA',
marginRight: 8,
color: '#000000 !important',

'&:hover': {
background: '#EDF0F2',
},

'&:active': {
background: '#EDF0F2 !important',
},
Expand All @@ -79,7 +79,7 @@ const useStyles = createUseStyles(theme => ({
},
}))

const ImageCropper = ({ isOpen, onClose, src, onCropComplete }) => {
const ImageCropper = ({ isOpen, onClose, src, onCropComplete, username }) => {
const classes = useStyles()
const [cropData, setCropData] = useState("#")
const cropperRef = useRef(null)
Expand All @@ -90,7 +90,7 @@ const ImageCropper = ({ isOpen, onClose, src, onCropComplete }) => {
const croppedImage = cropper.getCroppedCanvas().toDataURL()
setCropData(croppedImage)
if (onCropComplete) {
onCropComplete(croppedImage)
onCropComplete(croppedImage ,username)
}
console.log(cropData)
} else {
Expand Down
80 changes: 73 additions & 7 deletions src/components/common/MoreMenu/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import React, { useState, useEffect } from 'react'
import Menu from '@material-ui/core/Menu'
import MenuItem from '@material-ui/core/MenuItem'
import ListSubheader from '@material-ui/core/ListSubheader'
import List from '@material-ui/core/List'
import ListItem from '@material-ui/core/ListItem'
import ListItemText from '@material-ui/core/ListItemText'
import Collapse from '@material-ui/core/Collapse'
import ExpandLess from '@material-ui/icons/ExpandLess'
import ExpandMore from '@material-ui/icons/ExpandMore'
import Divider from '@material-ui/core/Divider'

const MoreMenu = (props) => {
const {
Expand All @@ -24,7 +31,11 @@ const MoreMenu = (props) => {
setcallFunc(onClick)
setOverflow('scroll')
}


const handleClickCollapse = (onClick) => () => {
setcallFunc(onClick)
}

useEffect(() => {
// console.log(open, themeModal, switchUserModal)
setcallFunc(callFunc)
Expand All @@ -36,19 +47,74 @@ const MoreMenu = (props) => {
}
// eslint-disable-next-line
}, [open, themeModal, switchUserModal])

return (
<Menu
style={{ zIndex: 3500 }}
anchorEl={() => anchor.current}
open={open}
onClose={onClose}
className={className}
transformOrigin={{vertical: 'bottom', horizontal: 'top'}}
transformOrigin={{vertical: 'top', horizontal: 'top'}}
>
{items.map(({onClick, text, visible}) => (
visible && <MenuItem onClick={handleMenuClosing(onClick)} key={text} style={{ minWidth: 150 }}>{text}</MenuItem>
))}
<List
component="nav"
aria-labelledby="advanced-subheader"
subheader={<ListSubheader component="div" id="advanced-subheader" style={{ fontSize: '20px !important', fontWeight: '700 !important' }}>
Advanced
</ListSubheader>}
style={{
maxHeight: '400px', // Adjust this value based on your needs
overflowY: 'auto', // This makes the list scrollable
}}
>
<Divider />
{items.map(({onClick, text, visible, subItems, collapse}) => (
visible &&
(
Object.keys(subItems).length > 0 ? (
<>
<ListItem button onClick={handleClickCollapse(onClick)}>
{/* <ListItemIcon>
<InboxIcon />
</ListItemIcon> */}
<ListItemText primary={text}/>
{collapse ? <ExpandLess /> : <ExpandMore />}
</ListItem>
<Collapse in={collapse} timeout="auto" unmountOnExit>
{subItems.map(({subonClick, subtext, subhref}) => (
subhref === '' ?
<List component="div">
<ListItem onClick={handleMenuClosing(subonClick)} key={text} button>
{/* <ListItemIcon>
<StarBorder />
</ListItemIcon> */}
<ListItemText primary={subtext} />
</ListItem>
</List>
:
<List component="div">
<ListItem component="a" href={subhref} target="_blank" rel="noopener noreferrer" key={text} button>
{/* <ListItemIcon>
<StarBorder />
</ListItemIcon> */}
<ListItemText primary={subtext} />
</ListItem>
</List>

))}
</Collapse>
</>
)
:
<ListItem button>
{/* <ListItemIcon>
<InboxIcon />
</ListItemIcon> */}
<ListItemText onClick={handleMenuClosing(onClick)} key={text} primary={text} />
</ListItem>
)
))}
</List>
</Menu>
)
}
Expand Down
Loading