initial try porting v0 into echart#245
Open
jwagoner-sudo wants to merge 1 commit into
Open
Conversation
| const selected = templates.find((t) => t.code === code); | ||
| if (selected?.content) { | ||
| const evaluated = evaluateTemplate(selected.content); | ||
| const isHtml = /<[a-z][\s\S]*>/i.test(evaluated); |
| note.lineout && 'line-through' | ||
| )} | ||
| > | ||
| {note.notes.replace(/<[^>]+>/g, '').slice(0, 100)} |
| note.lineout && 'line-through' | ||
| )} | ||
| > | ||
| {note.notes.replace(/<[^>]+>/g, '').slice(0, 100)} |
Comment on lines
+83
to
+84
| return html | ||
| .replace(/<<\s*(.*?)\s*>>/g, '{{$1}}') |
|
|
||
| /** Returns true when an HTML string has no visible text content. */ | ||
| export function isHtmlEmpty(html: string): boolean { | ||
| return html.replace(/<[^>]*>/g, '').replace(/ /g, ' ').trim().length === 0; |
|
|
||
| /** Returns true when an HTML string has no visible text content. */ | ||
| export function isHtmlEmpty(html: string): boolean { | ||
| return html.replace(/<[^>]*>/g, '').replace(/ /g, ' ').trim().length === 0; |
| <div className="fixed inset-0 z-50"> | ||
| <div | ||
| className={cn(sheetOverlayVariants())} | ||
| data-state={open ? 'open' : 'closed'} |
| aria-describedby={ariaDescribedBy} | ||
| id={sheetId} | ||
| tabIndex={-1} | ||
| data-state={open ? 'open' : 'closed'} |
Deploying ui with
|
| Latest commit: |
73549e9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4526f44d.ui-6d0.pages.dev |
| Branch Preview URL: | https://port-v0-case-mgmt.ui-6d0.pages.dev |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Initial attempt at porting the v0-case-mgmt feature set into the @mieweb/ui library as presentational components (case manager + 10 tabs, dashboard, wizard, admin/code-table managers, todo backlog, work status report, etc.) for use in echart-sim.