Skip to content

Update Project Description Feature - #1802

Merged
ethanwong16 merged 18 commits into
masterfrom
ethan-update-project-descriptions
Feb 6, 2023
Merged

ethanwong16 merged 18 commits into
masterfrom
ethan-update-project-descriptions

Conversation

@ethanwong16

Copy link
Copy Markdown
Contributor

Introduction

This PR addresses issue #1777 to improve the project description feature by

  1. Increasing the description character limit
  2. Displaying to users the character count as they edit a project description
  3. Supporting markdown formatting

It also adds the ability to collapse / expand project descriptions in case they are inconveniently large.

Solution

The SQL schema was modified to reflect increasing description character limits and front-end components were added to display character counts and render markdown. The third-party library ngx-markdown was used to implement markdown.

Demo

Screen.Recording.2023-01-19.at.18.47.27.mov

Future TODOs

  • Add capabilities to edit project description from within a single UserProjectSection component as well
  • Add some interval to potentially save descriptions at different checkpoints as Yicong suggested

@ethanwong16 ethanwong16 added feature ddl-change Changes to the TexeraDB DDL labels Jan 20, 2023
@ethanwong16 ethanwong16 self-assigned this Jan 20, 2023
@Yicong-Huang

Copy link
Copy Markdown
Contributor

Hi @ethanwong16,

I like the markdown feature very much! can we add a border to the description section so that it differentiates from the other components? For example, I include a screenshot of GitHub readme section below for comparison:
Screenshot 2023-01-20 at 11 38 18
Screenshot 2023-01-20 at 11 38 11

@Yicong-Huang Yicong-Huang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left some minor suggestions

Comment thread core/new-gui/package.json Resolved
Comment thread core/new-gui/package.json Resolved
Comment thread core/new-gui/package.json Resolved

@Yicong-Huang Yicong-Huang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, please take care of the minor issue regarding the count of characters, either within this PR or leave an issue to track it.

Comment thread core/new-gui/package.json Resolved
@ethanwong16
ethanwong16 merged commit ad880c1 into master Feb 6, 2023
@ethanwong16
ethanwong16 deleted the ethan-update-project-descriptions branch February 6, 2023 21:13
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
Introduction 
---
This PR addresses issue apache#1777 to improve the project description feature
by

1. Increasing the description character limit
2. Displaying to users the character count as they edit a project
description
3. Supporting markdown formatting

It also adds the ability to collapse / expand project descriptions in
case they are inconveniently large.

Solution
---
The SQL schema was modified to reflect increasing description character
limits and front-end components were added to display character counts
and render markdown. The third-party library
[ngx-markdown](https://www.npmjs.com/package/ngx-markdown) was used to
implement markdown.

Demo
---


https://user-images.githubusercontent.com/57075492/213607327-c93149eb-2af8-4c2f-8b3e-3adf91a8ac48.mov



Future TODOs
---
- Add capabilities to edit project description from within a single
`UserProjectSection` component as well
- Add some interval to potentially save descriptions at different
checkpoints as Yicong suggested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddl-change Changes to the TexeraDB DDL feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants