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

Site Sider #162

Merged
merged 67 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
4a1d779
temp
SanjeevLakhwani May 6, 2024
9083386
temp
SanjeevLakhwani May 6, 2024
342ef02
temp
SanjeevLakhwani May 13, 2024
73578a9
Added Sidebar
SanjeevLakhwani May 16, 2024
3d42f98
Rearranged imports
SanjeevLakhwani May 22, 2024
77d0308
Added trailing newline
SanjeevLakhwani May 22, 2024
afa1d31
removed unused beacon logo
SanjeevLakhwani May 22, 2024
0108367
added Titles to each page
SanjeevLakhwani May 22, 2024
6335438
separated bento logo animation and non bento logo animation
SanjeevLakhwani May 22, 2024
e31efae
Merge remote-tracking branch 'origin/site-sider' into site-sider
SanjeevLakhwani May 28, 2024
6439c41
Removed page titles
SanjeevLakhwani May 29, 2024
a3f8147
Determines current active key from url
SanjeevLakhwani May 29, 2024
c1c352d
removed useless changes
SanjeevLakhwani May 29, 2024
6e6c5c6
Added a page specific loader
SanjeevLakhwani May 30, 2024
5c43007
centered the loader vertically
SanjeevLakhwani May 30, 2024
f888270
Changed hierchy of sider and header
SanjeevLakhwani Jun 3, 2024
b202790
removed custom logo env variable
SanjeevLakhwani Jun 3, 2024
a5efb3e
removed redundant css
SanjeevLakhwani Jun 5, 2024
532a847
modified header links
SanjeevLakhwani Jun 5, 2024
bce1ee4
removed useless log
SanjeevLakhwani Jun 5, 2024
e1fffc0
moved non-hook out of hooks
SanjeevLakhwani Jun 5, 2024
0a289af
improved router variables
SanjeevLakhwani Jun 5, 2024
984b4bc
made search behavior consistent
SanjeevLakhwani Jun 5, 2024
f443283
fixed menu selection behavior
SanjeevLakhwani Jun 5, 2024
63f5402
unified routes constant use
SanjeevLakhwani Jun 5, 2024
c6e8996
PR changes
SanjeevLakhwani Jun 5, 2024
3536849
added newline
SanjeevLakhwani Jun 5, 2024
2dccde4
removed redundant ghost param
SanjeevLakhwani Jun 5, 2024
9e4bdd5
PR changes
SanjeevLakhwani Jun 5, 2024
9b463f7
made the background color consistent
SanjeevLakhwani Jun 6, 2024
b55ab35
removed flashy site page loading
SanjeevLakhwani Jun 6, 2024
9abd841
modified card display layout from size hooks to grid layout
SanjeevLakhwani Jun 6, 2024
64d2bee
supported width setting for chart cards and removed useless width dec…
SanjeevLakhwani Jun 6, 2024
f7d512a
modified header button variable name
SanjeevLakhwani Jun 6, 2024
eb52625
renamed BentoRoutes to BentoRoute & used type more stringently
SanjeevLakhwani Jun 6, 2024
5a0f5a8
used BentoRoute type more stringently
SanjeevLakhwani Jun 6, 2024
557e380
removed unnecessary left margin
SanjeevLakhwani Jun 6, 2024
2deb985
added missing newline
SanjeevLakhwani Jun 6, 2024
76d0ba1
fixed the ordering of imports
SanjeevLakhwani Jun 6, 2024
233a1fb
refactored code
SanjeevLakhwani Jun 6, 2024
994529b
reorganized imports
SanjeevLakhwani Jun 6, 2024
45df145
reorganized imports
SanjeevLakhwani Jun 6, 2024
b9e1f2e
changed z-indexes of top level stuff
SanjeevLakhwani Jun 6, 2024
f7b80fe
added border to whole sider
SanjeevLakhwani Jun 6, 2024
4a6831a
Merge remote-tracking branch 'origin/site-sider' into site-sider
SanjeevLakhwani Jun 8, 2024
4e92798
changed the logo to white
SanjeevLakhwani Jun 10, 2024
df37ccf
added overflow handling
SanjeevLakhwani Jun 10, 2024
0145c24
improved overflow handling
SanjeevLakhwani Jun 10, 2024
64e8738
added code to put the card back to original width when space is avail…
SanjeevLakhwani Jun 10, 2024
9170240
added missing newline
SanjeevLakhwani Jun 10, 2024
5524a35
resolved local storage falsy update
SanjeevLakhwani Jun 12, 2024
43b1957
modified isElementOutOfview condition
SanjeevLakhwani Jun 12, 2024
ee62cdb
modified the behavior of useElementWidth
SanjeevLakhwani Jun 12, 2024
e6db538
increased debounce time
SanjeevLakhwani Jun 12, 2024
26ee300
added initialWidth check
SanjeevLakhwani Jun 12, 2024
3854851
centered the logo
SanjeevLakhwani Jun 12, 2024
b884435
resolved type in search
SanjeevLakhwani Jun 12, 2024
e174395
corrected filenames
SanjeevLakhwani Jun 17, 2024
936fed2
realigned logo
SanjeevLakhwani Jun 17, 2024
4792a48
changed portal logo
SanjeevLakhwani Jun 17, 2024
17cc6c3
updated antd for more button features
SanjeevLakhwani Jun 17, 2024
5d2594c
put icon for port to end
SanjeevLakhwani Jun 17, 2024
f9d2834
Merge branch 'main' into site-sider
SanjeevLakhwani Jun 17, 2024
5093e26
corrected imports after conflict resolve
SanjeevLakhwani Jun 17, 2024
c581003
corrected conflict errors
SanjeevLakhwani Jun 17, 2024
32ebedc
corrected conflict errors
SanjeevLakhwani Jun 17, 2024
8a2c623
added logo on both sides
SanjeevLakhwani Jun 19, 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
26 changes: 13 additions & 13 deletions create_config_prod.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
const parseBoolean = (value) => ["true", "1", "yes"].includes((value || "").toLocaleLowerCase());
const parseBoolean = (value) => ['true', '1', 'yes'].includes((value || '').toLocaleLowerCase());

const siteConfig = {
CLIENT_NAME: process.env.BENTO_PUBLIC_CLIENT_NAME || null,
PORTAL_URL: process.env.BENTO_PUBLIC_PORTAL_URL || null,
TRANSLATED: parseBoolean(process.env.BENTO_PUBLIC_TRANSLATED),
BEACON_URL: process.env.BEACON_URL || null,
BEACON_UI_ENABLED: parseBoolean(process.env.BENTO_BEACON_UI_ENABLED),
CLIENT_NAME: process.env.BENTO_PUBLIC_CLIENT_NAME || null,
PORTAL_URL: process.env.BENTO_PUBLIC_PORTAL_URL || null,
TRANSLATED: parseBoolean(process.env.BENTO_PUBLIC_TRANSLATED),
BEACON_URL: process.env.BEACON_URL || null,
BEACON_UI_ENABLED: parseBoolean(process.env.BENTO_BEACON_UI_ENABLED),

// Authentication
PUBLIC_URL: process.env.BENTO_PUBLIC_URL || null,
CLIENT_ID: process.env.CLIENT_ID || null,
OPENID_CONFIG_URL: process.env.OPENID_CONFIG_URL || null,
// Authentication
PUBLIC_URL: process.env.BENTO_PUBLIC_URL || null,
CLIENT_ID: process.env.CLIENT_ID || null,
OPENID_CONFIG_URL: process.env.OPENID_CONFIG_URL || null,
};

if (typeof require !== "undefined" && require.main === module) {
process.stdout.write(`BENTO_PUBLIC_CONFIG = ${JSON.stringify(siteConfig, null, 2)};\n`);
if (typeof require !== 'undefined' && require.main === module) {
process.stdout.write(`BENTO_PUBLIC_CONFIG = ${JSON.stringify(siteConfig, null, 2)};\n`);
}

module.exports = {
siteConfig,
siteConfig,
};
Loading