Skip to content

MdSamsuzzohaShayon/nodejs-email-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Template

PLANNING

  • THIS WAY IS NOT WORKING SO NOW I AM GOING TO APPEND ALL BLOCK ELEMENT INTO DROP ZONE (ELEMENT ID)

  • BY USING CSS I WILL STYLE TOP OF THE COLUMN DIV BY USING POSITION ABSOLUTE

  • OR WE CAN REMOVE BELOW DIV AND USE CREATE NEW DIV THAT WE WANT TO APPEND OUR BLOCK

  • OR WE CAN MADE THE EVENT LISTENER OR ACTION ABOVE WHERE WE MADE THE ELEMENT dropableColumnZone

  • OR WE CAN MADE COLUMN ELEMENT GLOBALLY(OUTSIDE OF ANY FUNCTION OR LOOP) SO WE CAN ACCESS ANYWARE

  • OR WE CAN SEECT DIRECTLY FROM THE ELEMENT // document.addEventListener == IT'S WORKED 😊

  • BY POSITION FIND OUT THE COLUMN INDEX NUMBER

  • FIND OUT IN WHICH COLUMN AND WHICH ROW OUR ELEMENT IS LOCATED == IT'S WORKED 😊

  • SET ONE MORE ATTRIBUTE IN COLUMN BLOCK THAT CAN DIFFERENTTHIATE EACH ELEMENT == IT'S WORKED 😊

  • AT FIRST GET ROW ID AND COL ID*

  • MAKE AN ON CHANGE EVENT ATTRIBUTE IN THE BLOCK ELEMENT WE HAVE CREATED TO CHANGE ANYTHING == IT'S WORKED 😊

  • EVERYTIME WHEN CHANGE THE ROW LIST AND ROW POSITION ELELMENT WE CAN CREATE ELEMENT AND UPDATE ELEMENT

  • MAKE ALL THE ELEMENT VARTICALLY AND HORIZONTALLY RESPONSIVE

  • INSIDE PROPERTY CHANGE OR CLICK EVENT ->GET ROW AND COL NUMBER -> ACCORDING TO ROW AND COL NUMBER UPDATE ELEMENT POSITION ARRAY WITH RESENTLY INPUTED VALUE == IT'S WORKED😊

  • SAVE HTML ELEMENT WITH RIGHT COLUMN AND RIGHT ROW == IT'S WORKED😊

  • FROM CLICK OR CHANGE EVENT OF PROPERTY CHANGE THE ELEMENT ATTRIBUTE OF TEMPLATE

  • DROP THE BUTTON INSIDE ANOTHER ELEMENT

  • PROBLEM WITH CHANGING TEXT CONTENT OF TEXT BLOCK == IT'S WORKED😊

  • SOME PROBLEM WITH HYPERLINK AND NEW TEXT OF TEXT EDITOR == IT'S WORKED😊

  • WORK TO SHOW ALL THE CHANGED ELEMENT INSIDE TEMPLATE == IT'S WORKED😊

  • WORK WITH BUTTON PROPERTIES == IT'S WORKED😊

  • WORK WITH SPACING == IT'S WORKED😊

  • WORK WITH ROW UP AND DOWN

  • WORK WITH IMAGE

  • find deferance of all row and drop column zone and check if the diferance value is less than 127 add some value to make it 127 as differance

STYLING INSTRUCTIONS

  • MAKE IT RESPONSIVE
  • DEFAULT BUTTON ALIGNMENT ☑️
  • BUTTON ALIGNMENT IS NOT WORKING PROPERLY IS JS ☑️
  • MAKE A BORDER FOR ALL ELEMENT ON HOVER ☑️
  • DO SOME STYLING FOR TEXT EDITOR FONT WHICH HAS 1 TO 7 INDEX (FIND THE 1 MEANS HOW MUCH PX AND SET THE VALUE)
  • BUTTON POSITION SET ☑️
  • RESIZE ROW ACCORDING TO SOCIAL ICON ☑️
  • REMOVE BORDER COLOR FROM PREVIEW
  • PREVIEW IS NOT STYLING PROPERLY

###Problem & bugs

  • somehow column is still dropping into the column ☑️

  • social icon props hide and show ☑️

  • space show and hide problem ☑️

  • Image content ☑️

  • Bugs TypeError: Cannot read property 'classList' of undefined at HTMLDocument. (main.js:597) ☑️

  • When dragging row div with an block element and droping it, it's creating a duplicate of text content block ☑️

  • When deleting a row item from middle the attribute is is not setting properly ☑️

  • Some problem when 3 col row move up from col 3 to cal 2 the is row is not working properly ☑️

  • When droping space creating a extra block element col for database

  • Html is not saving in json field so We need to save in another row ☑️

  • In preview element is not appending into the right column order ☑️

  • Sibling button is not storing as json (storing as object) ☑️

  • Remove image html content from drop event and position element ☑️

  • Multiple content adding in one block- Prevent to add multiple content in same block ☑️

  • all button element property is same in the array we need to change ☑️

  • Navbar link should work on edit page ☑️

  • MySql problem fixing - run those query

  • When we check or uncheck any property it does't change

  • Problem with button opening in new tab - (text content has more problem)

  • Problem with button content, in 8 number template both button content are showing same in row 3- this happen because we need to clean input value

  • Error with selecting text content by click - THIS IS EDITABLE CONTENT DEFAULT BEHAVIOUR

  • When click any element it's setting the variable for selectedrow and col but for moving up and down second time selected element value won't be changed - we can display block from here

  • Change button tag to a tags

  • Dropping button is not working

  • Text editor (insert link)

  • Image validation ☑️

  • Some problem with preview social (not making more than 3 row)

  • Problem with social preview

  • FIle validation (2mb) ☑️

  • After resizing text to add more text there are some problem to drop element

    show variables like 'max_allowed_packet'
    set global max_allowed_packet=33554432
    
  • https://www.youtube.com/watch?v=zDaaG8hFYlk

  • open in link is not working (button property is not setting properly)

  • Image hyper link is not setting properly

  • default title in edit page ☑️

  • Update will be done if we set multer in our route

  • FOR UPLOADING MULTIPLE FILES IN AWS -> STORE ALL FILES IN A ARRAY AND LOOP THOUGH IT

  • Setup drop row height droppedRow.forEach((dr, dri) => dr.style.height = "900px");

Modification - client revision

  • Cancel is not working ☑️

  • At first column If I add a image in one column row that doesn't work ☑️

  • Change color scheme ☑️

  • Preview height problem for edit page - can't add any block from edit page ☑️

  • Header logo - delete Toyota logo and its not deleting ☑️

  • Header - header needs to adjust to full height of the image file ☑️

  • Image block - Options are not working on some images

  • Text block - When I copy and paste text, it's showing weird ☑️

  • Column block - too much space between columns ☑️

  • Hovering and selecting row ☑️

  • Problem with droping space block, doesn't drop below one col image block

  • Social icon arrange properly

  • Button height problem , btn text change properly, btn a text color ☑️

  • Can't add button properly - Inserting image into wrong column ☑️

  • You have an error in your SQL syntax; check the manual that corresponds ☑️

  • Remove background color ☑️

  • Drop down default selected value for space ☑️

  • Paste large text that will effect

  • Sometimes text options doesn't appars ☑️

  • Right bar need to be fixed ☑️

  • Header hyperlink is missing

  • thinner header section ☑️

  • Keep format when paste the text - only change font size as default ☑️

  • Some time colums are not adding properly ☑️

  • Example site - https://stripo.email/

  • Input field is not working for button and text and all ☑️

  • Should be able to add more then 5 row ☑️

  • Add border bottom for space ☑️

  • Prevent scroll up on click event of image or a tag

  • Make position relative of right bar in submit function ☑️

  • Test edit template

  • Button position for 3 column row isn't working properly ☑️

  • Open in new tab for button ☑️

  • Prevent to submit with empty title ☑️

  • page height - Unlimited page height to add unlimited block ☑️

  • Image hypertext - bg white, dark gray outline, (if text is not entered it not making hyperlink) - (1) I couldn't find this problem (2) any text you entered there that will be hyperlink when you preview the template (3) I set the default link for that hyperlink you can change that as well ☑️

  • Text editor - When Select text text editor need to open ☑️

  • Header - Need to Remove logo ☑️

  • Right bar - Make button light gray ☑️

  • Add column block betweeen two column block vertically not working ☑️

  • Full width horizontally like https://www.campaignmonitor.com/ modifica ☑️

  • Make it more responsive

  • insert text link working

  • Problem - when moveing up the row more than one step images disapparing - backend

  • Image id is not changing on image move up ☑️

  • Change block id on deleting any element ☑️

  • showing add another row to insert content ☑️

  • creating extra div - problem with preview ☑️

  • Button id for the last element is changing in a wrong Problem with delete row - we are changing id for child node of 0 index but we also need to change button element which hold 1 index

  • Unexpectedly height increasing

# NAVIGATE TO THE PROJECT DIRECTORY
git pull
pm2 startup 
pm2 save --force

Referances

Text Editors

Upload files

Node.js MySql JSON

JS, Objects, Array, JSON

Styling elements / Checkbox

Array of ojects

HTML CSS

Sticket Sidebar

JS Async, Await and promise

AWS S3

Show images

Digital Ocean

Docker