question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regression with custom `basePath` startin in versions >= `2.0.0-alpha.32`

See original GitHub issue

Hi and thanks a ton for your fantastic work on this project.

I believe I have found a regression that starts appearing in 2.0.0-alpha.32. My application works correctly in 2.0.0-alpha.30. And version 2.0.0-alpha.31 seems to not be available on npm.

My <FirebaseCMSApp /> is using a custom basePath="/admin" and collections={[pagesCollection]}, where pagesCollection looks like this:

const pagesCollection = buildCollection<PageDataRaw>({
  name: "Pages",
  singularName: "Page",
  path: "pages",
  // ...
});

With 2.0.0-alpha.30, the links in the central area and on the sidebar are identical and correct image

With 2.0.0-alpha.32, the links in the central area and on the sidebar are different. The ones in the central area are incorrect. image

PS: I’m using NextJS and the /admin route is configured for client-side rendering. That setup works very well with 2.0.0-alpha.30.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fgatti675commented, Nov 1, 2022

Thanks! This should be fixed in the latest version, can you check? 😃

0reactions
fgatti675commented, Nov 2, 2022

Thanks a lot!! The issue is that the component we use for editing markdown has some internal css imports, which break next.js installs. You did all the necessary workarounds. We would like to replace the markdown component with one that solves this issue but haven’t found a good alternative yet. I’m adding an issue for it

Read more comments on GitHub >

github_iconTop Results From Across the Web

influxDB2.0 alpha - http custom base path #15721 - GitHub
Trying to serve influxdb v2.0alpha through nginx proxy because I need to run multiple websites on the same host while admins only allow...
Read more >
caret: Classification and Regression Training
Version 6.0-93. Description Misc functions for training and plotting classification and regression models. License GPL (>= 2). URL ...
Read more >
Release notes | U.S. Web Design System
SaMS offers optional custom namespace for any USWDS variables, mixins, ... This currently requires a compile path that uses Dart Sass. ... Version...
Read more >
Changelog - Shoelace
New versions of Shoelace are released as-needed and generally occur when a critical ... custom property from <sl-alert> (apply a box shadow to...
Read more >
lime (6.3.0) - Haxelib
Added support for WebAssembly ( emscripten -webassembly or -wasm ) · Added lime -version for simpler Lime version output · Added @:compiler to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found