Skip to content

Commit

Permalink
docs: add 1.6.0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Apr 27, 2024
1 parent 91ce749 commit 701095f
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
35 changes: 35 additions & 0 deletions apps/codeimage/changelog/1-6-0_27-04-2024.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import newBorderOptionUrl from './data/1-6-0/new-border-option.mp4';
import startingLineNumberUrl from './data/1-6-0/starting-line-number.mp4';
import {MdxVideo} from '../src/mdx/Video';
import {mdxComponents} from '../src/mdx/components';

# v1.6.0

<mdxComponents.h3>🎨 New Window border options</mdxComponents.h3>

Editor has been updated allowing to update the window border options. With this update,
a new macOS-like border is now available for everyone.

You'll be able to update the border type through the new `border` option.

<MdxVideo src={newBorderOptionUrl} ratio={'4/3'}/>

## 🖥️ Starting line number

Thanks to [@alexandercerutti](https://github.com/alexandercerutti), the editor
will now let you decide the starting line number of your code.

<MdxVideo src={startingLineNumberUrl} ratio={'4/3'} />


## Changes
* feat(app): allow zero padding by [@SarjuHansaliya](https://github.com/SarjuHansaliya) in [!625](https://github.com/riccardoperra/codeimage/pull/625)
* feat(app,api): add line number start option by [@riccardoperra](https://github.com/riccardoperra) in [!624](https://github.com/riccardoperra/codeimage/pull/624)
* feat(app,api) add new border type glass option by [@riccardoperra](https://github.com/riccardoperra) in [!611](https://github.com/riccardoperra/codeimage/pull/611)

## New Contributors
* [@SarjuHansaliya](https://github.com/SarjuHansaliya) made their first contribution in [!625](https://github.com/riccardoperra/codeimage/pull/625)
* [@alexandercerutti](https://github.com/alexandercerutti) made their first contribution in [!615](https://github.com/riccardoperra/codeimage/issues/615)



Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {getRootEditorStore} from '@codeimage/store/editor';
import {getActiveEditorStore} from '@codeimage/store/editor/activeEditor';
import {dispatchUpdateTheme} from '@codeimage/store/effects/onThemeChange';
import {getThemeStore} from '@codeimage/store/theme/theme.store';
import {createSelectOptions, Select, NumberField} from '@codeui/kit';
import {createSelectOptions, NumberField, Select} from '@codeui/kit';
import {appEnvironment} from '@core/configuration';
import {getUmami} from '@core/constants/umami';
import {DynamicSizedContainer} from '@ui/DynamicSizedContainer/DynamicSizedContainer';
import {SegmentedField} from '@ui/SegmentedField/SegmentedField';
Expand All @@ -18,7 +19,6 @@ import {PanelDivider} from './PanelDivider';
import {PanelHeader} from './PanelHeader';
import {PanelRow, TwoColumnPanelRow} from './PanelRow';
import {SuspenseEditorItem} from './SuspenseEditorItem';
import {appEnvironment} from '@core/configuration';

const languages: readonly LanguageDefinition[] = [...SUPPORTED_LANGUAGES].sort(
(a, b) => {
Expand Down Expand Up @@ -231,7 +231,10 @@ export const EditorStyleForm: ParentComponent = () => {
id={'frameLineNumberStartField'}
value={editor().lineNumberStart}
ref={el => {
el.autocomplete = 'off';
// TODO why called two times?
if (el) {
el.autocomplete = 'off';
}
}}
onChange={setLineNumberStart}
/>
Expand Down

0 comments on commit 701095f

Please sign in to comment.