Skip to content

fix(app-preview): Change how root path is determined for singular template - #150

Merged
shellscape merged 5 commits into
mainfrom
fix/path-one-template
Jan 23, 2024
Merged

fix(app-preview): Change how root path is determined for singular template#150
shellscape merged 5 commits into
mainfrom
fix/path-one-template

Conversation

@ryanlanciaux

Copy link
Copy Markdown
Collaborator

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

There is an issue when there is only one template present and how the path for the sidebar is handled. This should resolve that issue but selecting the root path in a different way for singular templates.

@sysmat

sysmat commented Jan 23, 2024

Copy link
Copy Markdown

There should not be differences in path resolution from single or multiple templates

ryanlanciaux and others added 2 commits January 23, 2024 14:40
# Conflicts:
#	packages/jsx-email/src/cli/commands/preview.ts
@shellscape
shellscape force-pushed the fix/path-one-template branch 20 times, most recently from 10c97c5 to fadf0be Compare January 23, 2024 22:17
@shellscape
shellscape force-pushed the fix/path-one-template branch from fadf0be to 95cd534 Compare January 23, 2024 22:17
@shellscape
shellscape merged commit f0aa902 into main Jan 23, 2024
@shellscape
shellscape deleted the fix/path-one-template branch January 23, 2024 22:47
@shellscape

Copy link
Copy Markdown
Owner

@sysmat that was changed up. not to worry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants