Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Chatbot page is almost ready to go#1054

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SilasMarvin merged 15 commits intomasterfromsilas-chatbot-page-new
Oct 5, 2023
Merged

Conversation

SilasMarvin
Copy link
Contributor

No description provided.

});

impl Star {
pub fn new<S: ToString, I: Into<Option<S>>>(color: &str, content: S, id: I) -> Star {
Copy link
Contributor

Choose a reason for hiding this comment

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

I discovered this the other day:

fn something(content: impl ToString)

Seems cleaner than a generic notation.

@@ -0,0 +1,13 @@
import { Controller } from '@hotwired/stimulus'
Copy link
Contributor

Choose a reason for hiding this comment

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

You can delete empty controllers, bundle just won't include them.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Yes I just removed this!

toastElement.setAttribute('role', 'alert');
toastElement.setAttribute('aria-live', 'assertive');
toastElement.setAttribute('aria-atomic', 'true');
const toastElement = document.createElement("div");
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you have a linter we could all install? It would be nice to have one tbh...

Copy link
ContributorAuthor

@SilasMarvinSilasMarvinOct 5, 2023
edited
Loading

Choose a reason for hiding this comment

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

I use prettier for javascript. I can setup a prettier configuration for our repos that will avoid things like this, but I'll also look into setting up eslint.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please yeah, any one of them works, as long as it's easy to use.

@@ -45,3 +45,5 @@ pgvector = { version = "0.2.2", features = [ "sqlx", "postgres" ] }
console-subscriber = "*"
glob = "*"
pgml-components = { path = "../packages/pgml-components" }
reqwest = { version = "0.11.20", features = ["json"] }
pgml = { version = "0.9.2", path = "../pgml-sdks/pgml/" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Love monorepos! Things are just easier.

SilasMarvin reacted with heart emoji
@SilasMarvinSilasMarvin merged commit82fcbd4 intomasterOct 5, 2023
@SilasMarvinSilasMarvin deleted the silas-chatbot-page-new branchOctober 5, 2023 18:56
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@levkklevkklevkk left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@SilasMarvin@levkk

[8]ページ先頭

©2009-2025 Movatter.jp