Skip to content

Add explicit package name in demo#18

Merged
sliemeobn merged 2 commits into
elementary-swift:mainfrom
JohannesWarn:explicit-package-name-in-demo
Feb 26, 2026
Merged

Add explicit package name in demo#18
sliemeobn merged 2 commits into
elementary-swift:mainfrom
JohannesWarn:explicit-package-name-in-demo

Conversation

@JohannesWarn

Copy link
Copy Markdown
Contributor

This PR contains two commits.

explicit package name added to demo projects

Without a name the directory name is used as the package name. When downloading the repository directly from GitHub the directory name (and therefore package name) is “elementary-htmx-main”. The incorrect package name causes the demo projects to not build.

Adding explicit package names resolves this issue.

added comments for remote dependency to demo

When I (as a first time user) were trying to quickly grab the correct imports for elementary-htmx from the demo projects I completely glossed over the local package. Instead I incorrectly guessed that everything would come from the hummingbird-community/hummingbird-elementary package.

I think a comment in the demo project would be a nice way to steer tired eyes in the right direction.

Discussion

Another way to resolve both issues would be to use a remote dependency in the demo projects instead of the local dependency. I guess a local dependency is used since it makes developing the demo projects in tandem with the elementary-htmx package easier.

I believe either solution is fine and that the issue is not worth giving too much thought :)

Johannes added 2 commits February 26, 2026 08:14
Without a name the directory name is used as the package name. When downloading the repository directly from GitHub the directory name (and therefore package name) is “elementary-htmx-main”. The incorrect package name causes the demo projects to not build.

Adding explicit package names resolves this issue.
When I (as a first time user) were trying to quickly grab the correct imports for elementary-htmx from the demo projects I completely glossed over the local package. Instead I incorrectly guessed that everything would come from the hummingbird-community/hummingbird-elementary package.

I think a comment in the demo project would be a nice way to steer tired eyes in the right direction.
@sliemeobn

Copy link
Copy Markdown
Collaborator

thanks! lgtm

@sliemeobn sliemeobn merged commit beedb19 into elementary-swift:main Feb 26, 2026
5 checks passed
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.

2 participants