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

Add creation Article in new window editable #15

Open
9 tasks done
kasdihacene opened this issue Dec 31, 2020 · 0 comments
Open
9 tasks done

Add creation Article in new window editable #15

kasdihacene opened this issue Dec 31, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request FRONTEND fornt end implementation

Comments

@kasdihacene
Copy link
Owner

kasdihacene commented Dec 31, 2020

  • The aim of this issue is to create a new article:

  • As a developper I can see a new button (Add article) when connected as admin

  • when I click on the button I will be redirected to a page /new-article

  • On the new page a section with title and texte area will be displayed to fill a title and presentation of the article

  • a group of three buttons (TITLE - IMAGE - CODE) will be displayed in the button of the page

  • at the beggining I display input text (Title) and presentation section

  • I delimit the text area and buttons with . . . than I put the group of buttons

  • a group of button will be displayed under the . . . (+ Title) (+ Text) (+ Image) (+ Code) - float right

  • a button (Save article) will be displayed in the same line as a group of buttons on the left

Scenarios

  1. Four buttons are enabled:
  • when we have a text area as last element in the new-article page
  1. (+ Title) is disabled:
  • when we have a title as last element in the page

Technical solution:

  • Every element will be presented as a TS object
  • The content of the article will be stored as markdown content
  • The compiler will generate the html and the html (preview) will be persisted as value of key (articleName, contentHtml from md)
@kasdihacene kasdihacene self-assigned this Dec 31, 2020
@kasdihacene kasdihacene added the enhancement New feature or request label Dec 31, 2020
@kasdihacene kasdihacene added the FRONTEND fornt end implementation label Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FRONTEND fornt end implementation
Projects
None yet
Development

No branches or pull requests

1 participant