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

includeTagsInMessage and includeUrlInMessage added to chatConfiguration #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HolgerHatGarKeineNode
Copy link

options added to enable/disable includeTagsInMessage and includeUrlInMessage

if includeTagsInMessage is enabled, we loop through the tags and create a slug (with underscore) and append this string to the message

if includeUrlInMessage is enabled, we append the current url from document.location.href to the message

slugify npm package added to package.json

options added to enable/disable includeTagsInMessage and includeUrlInMessage

if includeTagsInMessage is enabled, we loop through the tags and create a slug (with underscore) and append this string to the message

if includeUrlInMessage is enabled, we append the current url from document.location.href to the message

slugify npm package added to package.json
@HolgerHatGarKeineNode
Copy link
Author

I hope my editor didn't change the code style too much or something not in your sense. That should make the inclusion of tags and also the current url optional.

@HolgerHatGarKeineNode
Copy link
Author

I just remembered that I didn't check what happens when data-include-tags-in-message is not set. I wonder if that doesn't lead to errors. I'll have a look.

@HolgerHatGarKeineNode
Copy link
Author

How can I build the bundle.js? I always get an error when I try to run rollup -c.
Or is it another command?

[!] RollupError: Could not resolve "./QRCode" from "node_modules/svelte-qr/src/QR.svelte"
node_modules/svelte-qr/src/QR.svelte
    at error (/home/fsociety/.nvm/versions/node/v16.18.1/lib/node_modules/rollup/dist/shared/rollup.js:271:30)

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.

1 participant