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

Create Module Page #4

Open
dragoonis opened this issue Mar 27, 2014 · 3 comments
Open

Create Module Page #4

dragoonis opened this issue Mar 27, 2014 · 3 comments

Comments

@dragoonis
Copy link
Member

Here are the steps for the create module syste,.

Step 1) Module Name, Github URL, Packagist URL (optional)
Step 2) Description (WYSIWYG editor)
Step 3) Add Screenshots (have a "skip" button) on this
Step 4) Add a big "finish button"

After the module is made, redirect them to their module url `module/{moduleID}

@code-ph0y
Copy link
Contributor

Below is taken from a previous ticket

This is a basic form taking in

a) the Title of the module
b) the github url of the module

Once you submit, you'll be taken to the View Module page, and if you own this module you'll see "edit" buttons around the place to add more content, this "edit module" functionality will be on a later ticket.

@dragoonis
Copy link
Member Author

Lots of work done tonight, we now need to do the following:

  1. Step 1 submit the form via AJAX, make a new module.
    1.1) Store the new Module Entity in the session once it's made in the DB
    1.2) If they entered a packagist URL then we query the API to pull in their description and return it via the AJAX call

  2. Step 2 if we have a desc from step1 then we pre-populate the description box.

  3. Step 3 does the image manipulation but we still need to insert information into the DB

@dragoonis
Copy link
Member Author

Most of this has now been done with this commit:
e3f1157

Things till TBC:

  • Saving Desc (it worked but now is buggy as per above commit ref)
  • Saving image/thumb info to the DB

/cc @rossmoroney

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants