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

chore(demo): use baseHref=/ instead of baseHref=./ #8526

Merged
merged 6 commits into from
Aug 14, 2024

Conversation

nsbarsukov
Copy link
Member

No description provided.

@nsbarsukov nsbarsukov self-assigned this Aug 14, 2024
Copy link

lumberjack-bot bot commented Aug 14, 2024

Pull request was closed ✔️

All saved screenshots (for current PR) were deleted 🗑️

Copy link
Contributor

github-actions bot commented Aug 14, 2024

Visit the preview URL for this PR (updated for commit 4771a35):

https://taiga-ui--pr8526-base-href-refactor-v-utvbz43n.web.app

(expires Thu, 15 Aug 2024 17:46:39 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4b5ece1e114386f6a105425ef799091475b249eb

Copy link

bundlemon bot commented Aug 14, 2024

BundleMon

Files updated (3)
Status Path Size Limits
demo/browser/main.(hash).js
397.38KB (+4.75KB +1.21%) +10%
demo/browser/runtime.(hash).js
41.92KB (+590B +1.39%) +10%
demo/browser/vendor.(hash).js
214.55KB (-25B -0.01%) +10%
Unchanged files (2)
Status Path Size Limits
demo/browser/polyfills.(hash).js
15.22KB +10%
demo/browser/styles.(hash).css
1.39KB +10%

Total files change +5.3KB +0.8%

Groups updated (1)
Status Path Size Limits
demo/browser/*..js
2.45MB (+35.45KB +1.44%) -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@nsbarsukov nsbarsukov force-pushed the base-href-refactor-v3 branch from c60db69 to 028ab8a Compare August 14, 2024 10:29
@nsbarsukov nsbarsukov force-pushed the base-href-refactor-v3 branch from 0b47990 to 68e5a8c Compare August 14, 2024 11:07
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (v3.x@fb150f8). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             v3.x    #8526   +/-   ##
=======================================
  Coverage        ?   66.54%           
=======================================
  Files           ?      199           
  Lines           ?     2203           
  Branches        ?      278           
=======================================
  Hits            ?     1466           
  Misses          ?      701           
  Partials        ?       36           
Flag Coverage Δ
addon-charts 71.35% <ø> (?)
addon-doc 60.62% <ø> (?)
summary 66.54% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -63 to +64
useFactory: () => inject(DOCUMENT).querySelector('base')?.href || '/',
useFactory: () =>
inject(DOCUMENT).querySelector('base')?.getAttribute('href') || '/',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<base href="/v3/">
document.querySelector('base').href; // https://taiga-ui.dev/v3/
document.querySelector('base').getAttribute('href'); // /v3/

@nsbarsukov nsbarsukov changed the title [WIP] [Dont review, Dont merge] chore(demo): use baseHref=/ instead of baseHref=./ chore(demo): use baseHref=/ instead of baseHref=./ Aug 14, 2024
@nsbarsukov nsbarsukov changed the title chore(demo): use baseHref=/ instead of baseHref=./ [WIP] chore(demo): use baseHref=/ instead of baseHref=./ Aug 14, 2024
@nsbarsukov nsbarsukov changed the title [WIP] chore(demo): use baseHref=/ instead of baseHref=./ chore(demo): use baseHref=/ instead of baseHref=./ Aug 14, 2024
@nsbarsukov nsbarsukov marked this pull request as ready for review August 14, 2024 18:11
@splincode splincode merged commit 9ad873b into v3.x Aug 14, 2024
31 checks passed
@splincode splincode deleted the base-href-refactor-v3 branch August 14, 2024 18:12
@nsbarsukov nsbarsukov added the v3 label Aug 15, 2024
@nsbarsukov nsbarsukov linked an issue Aug 15, 2024 that may be closed by this pull request
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

🐞 - Links to documentation do not work
3 participants