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

V3 Release #89

Merged
merged 7 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# FigLog Change Log

## 3.0.0 (05-09-2024)

New editing flow, user must save changes
User can edit the start dates for logs
User can hide and show avatars
Added Nearform_Commerce branding
Prettier integration
Figma API update
Cleanup and documentation and README

## 2.0.0 (02-09-2024)

User can add changelog types
User can add links to logs
Switch to Lucide icons
Cleanup and documentation and README

## 1.0.0 (09-29-2023)

README update
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ We hope FigLog becomes a useful tool for you as a way of documenting the evoluti

## Features

- 🕹️ Optional component status, name, description, version, log types, and branding
- 👫 Multiplayer collaboration with user name and avatar
- 🗓️ Automatic date handling (including log edits)
- 💅 6 status types
- 🏷️ 7 log types **(New!)**
- 🔗 26 link types **(New!)**
- 🕹️ Customizable name, description, version, and branding
- 👫 Multiplayer collaboration with optional avatars
- 🗓️ Automatic date capture and handling **(Now Editable)**
- 💅 Multiple status types to define stages
- 🏷️ 7 log types for easier organization
- 🔗 26 link types with automatic branding support
- 🔒 Enhanced security for added control **(New!)**

## Usage

Expand Down
Binary file modified example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figlog",
"version": "1.0.0",
"version": "3.0.0",
"repository": "https://github.com/FormidableLabs/figlog.git",
"devDependencies": {
"@figma/plugin-typings": "^1.92.0",
Expand Down
70 changes: 36 additions & 34 deletions widget-src/components/log/LogEditing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const ChangeLogEditing = ({
!!changeLog.state?.updates?.linkFormError?.label ||
!!changeLog.state?.updates?.linkFormError?.url
? 'Fix Error to Save'
: 'Save Change'
: 'Save Log'
}
error={
!!changeLog.state?.updates?.createdDateTmp?.date.er ||
Expand Down Expand Up @@ -167,40 +167,42 @@ export const ChangeLogEditing = ({
}
}}
/>
<Button
label="Cancel"
hideLabel
iconSrc={<ActionCloseIcon color={COLOR.greyDark} />}
action={() => {
updateChangeState({
...changeLog.state,
editing: false,
updates: {
createdDate: changeLog.createdDate,
createdDateTmp: {
date: {
val: displayDate(changeLog.createdDate, 'date'),
er: false,
{changeLog.editCount > 0 && (
<Button
label="Cancel"
hideLabel
iconSrc={<ActionCloseIcon color={COLOR.greyDark} />}
action={() => {
updateChangeState({
...changeLog.state,
editing: false,
updates: {
createdDate: changeLog.createdDate,
createdDateTmp: {
date: {
val: displayDate(changeLog.createdDate, 'date'),
er: false,
},
time: {
val: displayDate(changeLog.createdDate, 'time'),
er: false,
},
},
time: {
val: displayDate(changeLog.createdDate, 'time'),
er: false,
links: changeLog.links,
link: {
label: '',
url: '',
icon: '',
key: '',
},
type: changeLog.type,
change: changeLog.change,
linkFormError: { label: false, url: false },
},
links: changeLog.links,
link: {
label: '',
url: '',
icon: '',
key: '',
},
type: changeLog.type,
change: changeLog.change,
linkFormError: { label: false, url: false },
},
});
}}
/>
});
}}
/>
)}
</AutoLayout>
</AutoLayout>
</AutoLayout>
Expand Down Expand Up @@ -251,8 +253,8 @@ export const ChangeLogEditing = ({
<AddLink changeLog={changeLog} updateChangeState={updateChangeState} />
)}
</AutoLayout>
<AutoLayout name="Delete Change" width="fill-parent" horizontalAlignItems="start" verticalAlignItems="center">
<Button label="Delete Change" action={deleteChange} />
<AutoLayout name="Delete Log" width="fill-parent" horizontalAlignItems="start" verticalAlignItems="center">
<Button label="Delete Log" action={deleteChange} />
</AutoLayout>
</AutoLayout>
</AutoLayout>
Expand Down
Loading