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

Release of v8.4.0 #560

Merged
merged 86 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
75af200
Update submenu
estruyf Feb 19, 2023
7e398d2
POC of rendering custom HTML
estruyf Feb 24, 2023
ecca570
Extensibility script solution
estruyf Feb 24, 2023
386bf02
Added external script loading
estruyf Feb 26, 2023
872487d
Added the UI scripts to experimental features
estruyf Feb 26, 2023
cf6133b
8.4.0
estruyf Feb 26, 2023
026bcd0
#513 - support for custom field + panel view
estruyf Feb 27, 2023
8bc63a4
#513 - devmode for ext
estruyf Feb 28, 2023
cbeda07
#513 - Added devtools command
estruyf Feb 28, 2023
cf29121
Fix isDevelopment check
estruyf Feb 28, 2023
3b0ea31
#518: Fix YAML parser
estruyf Mar 2, 2023
4ffcd76
Remove log
estruyf Mar 2, 2023
8a2ee4c
Merge branch 'dev' of github.com:estruyf/vscode-front-matter into dev
estruyf Mar 2, 2023
cae6223
Fix panel alignment
estruyf Mar 2, 2023
541e02e
Merge branch 'dev' of github.com:estruyf/vscode-front-matter into dev
estruyf Mar 2, 2023
6f45277
#522 - Add Astro support
estruyf Mar 4, 2023
f2c8c0a
Added default servers for frameworks
estruyf Mar 4, 2023
ced176a
#524 - Remove global settings
estruyf Mar 4, 2023
34f5e9c
#523 - number options
estruyf Mar 4, 2023
9f11b94
#520 - Add url protocol
estruyf Mar 4, 2023
9a2b0cb
Update changelog date
estruyf Mar 6, 2023
0ee4ed9
Merge branches 'dev' and 'dev' of github.com:estruyf/vscode-front-mat…
estruyf Mar 6, 2023
53dd130
#518 - revert and update yaml parser + config
estruyf Mar 6, 2023
14515e4
#526 - Fix content menu
estruyf Mar 7, 2023
94819ce
#521 - fix snippets placeholder
estruyf Mar 7, 2023
ecacba5
Added chatbot integration
estruyf Mar 9, 2023
36a903c
#530 - Front Matter AI
estruyf Mar 9, 2023
5a56577
Merge branch 'poc/ai' into dev
estruyf Mar 9, 2023
b3a1628
#530 - Chatbot API update
estruyf Mar 10, 2023
c159d80
#530 - Loading message added
estruyf Mar 10, 2023
605ebc6
Set chatbot to experimental for better styling
estruyf Mar 11, 2023
b9e46d5
#531 - fix list items
estruyf Mar 13, 2023
56deb43
Merge branch 'dev' of github.com:estruyf/vscode-front-matter into dev
estruyf Mar 13, 2023
22dbf46
Removed app insights + custom metrics
estruyf Mar 13, 2023
fccffa4
#363 - Multiline support
estruyf Mar 14, 2023
35d8722
Merge branch 'dev' of github.com:estruyf/vscode-front-matter into dev
estruyf Mar 14, 2023
f583ab2
#363 - Update labelfield
estruyf Mar 14, 2023
1e3b4c8
#536 - Set the script root folder
estruyf Mar 14, 2023
265db6f
#537 - Allow root path
estruyf Mar 14, 2023
e661753
Update activation message
estruyf Mar 15, 2023
623c340
Removed logging
estruyf Mar 15, 2023
92d5073
#536 - Update relative path
estruyf Mar 15, 2023
73e1f21
#535 - retain scroll position
estruyf Mar 15, 2023
143f8d7
Hover effect on images
estruyf Mar 15, 2023
bc3407f
#534 - move to database folder
estruyf Mar 15, 2023
b48008e
#537 - added support for `./` in public folder
estruyf Mar 16, 2023
42c44ca
#539 - fix file prefix
estruyf Mar 16, 2023
48e1cd8
Added an unknown field for uniforms
estruyf Mar 16, 2023
7a901e6
update changelog
estruyf Mar 16, 2023
ea19c61
update settings link
estruyf Mar 17, 2023
e84bf83
#529 - fix yaml parsing in Windows
estruyf Mar 17, 2023
6058a02
#512 - added jsonc file association for frontmatter.json
estruyf Mar 17, 2023
f45affb
Merge branches 'dev' and 'dev' of github.com:estruyf/vscode-front-mat…
estruyf Mar 17, 2023
d29d0cf
#512 - added frontmatter config folder support
estruyf Mar 17, 2023
3a5d57e
#541 - Title suggestion AI support
estruyf Mar 18, 2023
a958ee6
update changelog
estruyf Mar 18, 2023
a274a34
Update changelog
estruyf Mar 18, 2023
5f1c835
#541 - silent account retrieval
estruyf Mar 19, 2023
a66bf12
#541 - rewrite the ai logic
estruyf Mar 19, 2023
781db74
#528 - fix for astro files
estruyf Mar 19, 2023
898f59e
#543 - fix json schema
estruyf Mar 20, 2023
5011c1c
#538 - encodeEmoji property support
estruyf Mar 20, 2023
9c5b8aa
Updated name
estruyf Mar 21, 2023
fafe64d
#538 - update stringify
estruyf Mar 21, 2023
6238780
#547 - fix default value
estruyf Mar 22, 2023
e23960d
#547 - check for parent field
estruyf Mar 23, 2023
5d1ed08
#513 - Add support for card image extensibility
estruyf Mar 23, 2023
29479a8
Fix for extending array settings + card Image check
estruyf Mar 25, 2023
d52f51f
#549 - sync submodule changes
estruyf Mar 28, 2023
5336f3c
#550 - Taxonomy suggestions
estruyf Mar 28, 2023
8054a96
#549 - check changes in submodule
estruyf Mar 29, 2023
3086ca6
#552 - Fix for content retrieval in multi-root workspaces
estruyf Mar 29, 2023
30df5c6
#549 - Added the folder name
estruyf Mar 30, 2023
6bb9831
Implementation of the project selector
estruyf Mar 30, 2023
78f0e7f
#548 - Project selection support
estruyf Mar 30, 2023
ecab542
#554 - hide media snippets
estruyf Mar 31, 2023
fe2a115
Update chanelog
estruyf Mar 31, 2023
744e4a8
Merge branch 'issue/548-projects' into dev
estruyf Mar 31, 2023
6f51e6b
Update changelog
estruyf Mar 31, 2023
4b37c4c
Changelog update
estruyf Mar 31, 2023
7bd77e4
#535 - fix when no image is selected
estruyf Apr 1, 2023
f65060f
#523 - add default step
estruyf Apr 1, 2023
61d8d60
#556 #555 - better field type detection
estruyf Apr 2, 2023
7df731b
Merge branch 'issue/548-projects' into dev
estruyf Apr 2, 2023
398691b
#557 - Fix for dropdown of the tag picker
estruyf Apr 3, 2023
11103ad
Updated the changelog
estruyf Apr 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
70 changes: 69 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,74 @@
# Change Log

## [8.3.0] - 2022-02-14 - [Release notes](https://beta.frontmatter.codes/updates/v8.3.0)
## [8.4.0] - 2023-04-03 - [Release notes](https://beta.frontmatter.codes/updates/v8.4.0)

### 🧪 Experimental features

- External UI script support for dashboards
- Visual Studio Code Theming support for the dashboards
- Front matter AI 🤖

> **Info**: To enable the experimental features you need to set the `frontMatter.experimental` setting to `true`.

### 🙏 Exclusive Features for Sponsors

We're excited to announce a brand new feature exclusively available to sponsors of Front Matter CMS. With this update, we've added Front Matter AI to the project, which provides helpful suggestions for creating new content such as title suggestions and tag/category suggestions.

> **Important**: To access the Front Matter AI feature, you will need to sign-in ([backers & supports sign-in instructions](https://frontmatter.codes/docs/getting-started#backers-&-supporters)) and set the `frontMatter.sponsors.ai.enabled` setting to `true` and you're good to go! We put it behind a setting to not automatically enable it and let you decide if you want to use it or not.

If you're not already a sponsor, now is a great time to consider supporting the project. By becoming a sponsor, you not only gain access to exclusive features like Front Matter AI, but also help to support the ongoing development and maintenance of the project. You can become a sponsor by visiting the [GitHub sponsor page](https://github.com/sponsors/estruyf).

### ✨ New features

- [#363](https://github.com/estruyf/vscode-front-matter/issues/363): Multiline support for the `string` field in data view
- [#513](https://github.com/estruyf/vscode-front-matter/issues/513): Added support for external UI scripts to add custom HTML on the dashboard elements
- [#530](https://github.com/estruyf/vscode-front-matter/issues/530): Implementation of the Front Matter AI 🤖 powered by [mendable.ai](https://mendable.ai)
- [#537](https://github.com/estruyf/vscode-front-matter/issues/537): Allow to use the root path `/` as the public folder
- [#541](https://github.com/estruyf/vscode-front-matter/issues/541): Added title AI suggestions for GitHub sponsors
- [#548](https://github.com/estruyf/vscode-front-matter/issues/548): Project selection support when working in mono-repos or multi-root workspaces
- [#550](https://github.com/estruyf/vscode-front-matter/issues/550): Added taxonomy (tags/categories) AI suggestions for GitHub sponsors

### 🎨 Enhancements

- Added an `unknown` field for uniforms when it has no type defined
- [#512](https://github.com/estruyf/vscode-front-matter/issues/512): Added the `jsonc` file association for the `frontMatter.json` file. That way, you can use comments in the file.
- [#522](https://github.com/estruyf/vscode-front-matter/issues/522): Configuration support added for [Astro](https://astro.build)
- [#523](https://github.com/estruyf/vscode-front-matter/issues/523): Added support for `floating`/`decimal` numbers with a new number field property called `numberOptions`
- [#524](https://github.com/estruyf/vscode-front-matter/issues/524): Removed the **Global settings** view from the panel. You can still get it back by configuring a [custom view mode](https://frontmatter.codes/docs/panel#view-modes).
- [#535](https://github.com/estruyf/vscode-front-matter/issues/535): Retain the scroll position after selecting a media file
- [#538](https://github.com/estruyf/vscode-front-matter/issues/538): Added support to encode emojis in the string field
- [#549](https://github.com/estruyf/vscode-front-matter/issues/549): Git submodule support to sync changes
- [#554](https://github.com/estruyf/vscode-front-matter/issues/554): When inserting snippets, only the content snippets will be shown

### ⚡️ Optimizations

- [#534](https://github.com/estruyf/vscode-front-matter/issues/534): Moved the `mediaDb.json` file to a `.frontmatter/database` folder instead of the `.frontmatter/content` folder
- [#536](https://github.com/estruyf/vscode-front-matter/issues/536): Set the start location from the script to the root of the workspace
- [#555](https://github.com/estruyf/vscode-front-matter/issues/555): When generating a content-type from existing content, Front Matter will better detect the type of field
- [#556](https://github.com/estruyf/vscode-front-matter/issues/556): Content values are aligned to the type of field

### 🐞 Fixes

- [#518](https://github.com/estruyf/vscode-front-matter/issues/518): Fix an issue where the `YAML` parser adds line breaks to long strings
- [#520](https://github.com/estruyf/vscode-front-matter/issues/520): Add the URL protocol to the host on opening the preview if it's missing
- [#521](https://github.com/estruyf/vscode-front-matter/issues/521): Fix empty snippets dashboard placeholder
- [#526](https://github.com/estruyf/vscode-front-matter/issues/526): Fix card content menu
- [#528](https://github.com/estruyf/vscode-front-matter/issues/528): Fix where the `.astro` code section `---` is seen as front matter
- [#529](https://github.com/estruyf/vscode-front-matter/issues/529): Fix YAML parsing in Windows which added an extra carriage return
- [#531](https://github.com/estruyf/vscode-front-matter/issues/531): Fix prettier update which caused data views to not render list items
- [#539](https://github.com/estruyf/vscode-front-matter/issues/539): Fix the override of the default file prefix on content creation
- [#543](https://github.com/estruyf/vscode-front-matter/issues/543): Fix JSON schema for script commands
- [#547](https://github.com/estruyf/vscode-front-matter/issues/547): Fix setting default value in a hidden group field (`block`)
- [#552](https://github.com/estruyf/vscode-front-matter/issues/552): Fix for content retrieval in multi-root workspaces
- [#557](https://github.com/estruyf/vscode-front-matter/issues/557): Fix for dropdown of the tag picker

## [8.3.0] - 2023-02-14 - [Release notes](https://beta.frontmatter.codes/updates/v8.3.0)

### 🧪 Experimental features

- Visual Studio Code Theming support for the dashboards

> **Info**: To enable the experimental features you need to set the `frontMatter.experimental` setting to `true`.

### ✨ New features

Expand Down
4 changes: 4 additions & 0 deletions assets/icons/chatbot-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/icons/chatbot-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 41 additions & 35 deletions assets/media/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@
position: inherit !important;
}

.z-10 { z-index: 10 !important; }
.z-20 { z-index: 10 !important; }
.z-10 {
z-index: 10 !important;
}
.z-20 {
z-index: 10 !important;
}

.w-full {
width: 100% !important;
Expand All @@ -44,11 +48,12 @@
.ext_settings,
.git_actions,
.initialize_actions {
padding: 1rem 1.25rem;
padding: 1rem 1.25rem;
box-sizing: border-box;
}

#app, .frontmatter {
#app,
.frontmatter {
height: 100%;
}

Expand All @@ -58,7 +63,7 @@
align-items: center;
opacity: 0.8;
text-align: center;
padding: 1rem 1.25rem;
padding: 1rem 1.25rem;
}

.spinner,
Expand Down Expand Up @@ -103,7 +108,7 @@
padding-bottom: var(--input-margin-vertical);
display: flex;
flex-direction: column;
justify-content: space-between;
justify-content: start;
}

.frontmatter h3 {
Expand All @@ -113,7 +118,7 @@
.frontmatter p,
.frontmatter h4,
.frontmatter ul {
margin-bottom: .5rem;
margin-bottom: 0.5rem;
}

.article__tags h3,
Expand All @@ -131,7 +136,8 @@
margin-right: 0.5rem;
}

.seo__status__details, .seo__status__keywords {
.seo__status__details,
.seo__status__keywords {
margin-bottom: 1rem;
}

Expand Down Expand Up @@ -162,11 +168,11 @@
}

.article__tags__dropbox.open {
border: 1px solid rgba(0, 0, 0, .9);
border: 1px solid rgba(0, 0, 0, 0.9);
}

.article__tags ul {
color: var(--vscode-dropdown-foreground);
color: var(--vscode-dropdown-foreground);
background-color: var(--vscode-dropdown-background);
}

Expand All @@ -176,16 +182,16 @@
}

.article__tags li:active {
color: var(--vscode-button-foreground);
color: var(--vscode-button-foreground);
background-color: var(--vscode-button-background);
}

.article__tags li[aria-selected="true"] {
.article__tags li[aria-selected='true'] {
color: var(--vscode-button-foreground);
background-color: var(--vscode-button-hoverBackground);
}

.article__tags li[aria-disabled="true"] {
.article__tags li[aria-disabled='true'] {
display: none;
}

Expand Down Expand Up @@ -224,7 +230,7 @@
}

.ext_link_block svg {
margin-right: .5rem;
margin-right: 0.5rem;
display: block;
width: 16px;
height: 16px;
Expand Down Expand Up @@ -258,16 +264,16 @@
}

.ext_link_block button.active {
color: var(--vscode-button-foreground);
background: var(--vscode-button-background);
color: var(--vscode-button-foreground);
background: var(--vscode-button-background);
}
.ext_link_block button.active:hover {
cursor: pointer;
background: var(--vscode-button-hoverBackground);
cursor: pointer;
background: var(--vscode-button-hoverBackground);
}

.ext_link_block a:hover,
.ext_link_block a:active,
.ext_link_block a:hover,
.ext_link_block a:active,
.ext_link_block a:focus,
.ext_link_block a:visited {
color: var(--vscode-button-secondaryForeground);
Expand Down Expand Up @@ -301,15 +307,15 @@
}

.table__cell__validation .valid {
color: #46EC86;
color: #46ec86;
}

.table__cell__validation .warning {
color: #E6AF2E;
color: #e6af2e;
}

.table__cell__validation div span + span {
margin-left: .5rem;
margin-left: 0.5rem;
}

.seo__status__note {
Expand All @@ -325,7 +331,7 @@
height: 24px;
}

.field__toggle input {
.field__toggle input {
opacity: 0;
width: 0;
height: 0;
Expand All @@ -339,21 +345,21 @@
right: 0;
bottom: 0;
background-color: var(--vscode-button-secondaryBackground);
-webkit-transition: .4s;
transition: .4s;
-webkit-transition: 0.4s;
transition: 0.4s;
border-radius: 34px;
}

.field__toggle__slider:before {
position: absolute;
content: "";
content: '';
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
-webkit-transition: 0.4s;
transition: 0.4s;
border-radius: 50%;
}

Expand Down Expand Up @@ -405,7 +411,7 @@ input:checked + .field__toggle__slider:before {
}

.file_list__items__item {
color: var(--vscode-foreground);
color: var(--vscode-foreground);
font-size: var(--vscode-font-size);
font-weight: var(--vscode-font-weight);
cursor: pointer;
Expand All @@ -419,7 +425,7 @@ input:checked + .field__toggle__slider:before {
}

.file_list__items__item:hover {
background-color: var(--vscode-list-hoverBackground);
background-color: var(--vscode-list-hoverBackground);
color: var(--vscode-list-hoverForeground);
cursor: pointer;
}
Expand All @@ -429,7 +435,7 @@ input:checked + .field__toggle__slider:before {
flex-shrink: 0;
height: 20px;
width: 20px;
margin-right: .25rem;
margin-right: 0.25rem;
}

.file_list__items__item span {
Expand All @@ -454,7 +460,7 @@ input:checked + .field__toggle__slider:before {
.sponsor svg {
height: 20px;
width: 20px;
margin-right: .25rem;
margin-right: 0.25rem;
}

.sponsor a {
Expand All @@ -471,7 +477,7 @@ input:checked + .field__toggle__slider:before {
}

.sponsor a > span {
margin-right: .25rem;
margin-right: 0.25rem;
}

/* Timepicker */
Expand All @@ -494,4 +500,4 @@ input:checked + .field__toggle__slider:before {

.react-datepicker-time__input input {
border: 1px solid #aeaeae !important;
}
}
Binary file added enhancements.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fixes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added new-features.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added optimizations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading