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

Discussion: integrating or merging Mapknitter into plots2/PublicLab.org #302

Open
SidharthBansal opened this issue Jan 25, 2019 · 14 comments

Comments

@SidharthBansal
Copy link
Member

Can we merge Mapknitter to the pl.org/maps?
Similar workflow with mapmiller can be obtained.
Thanks

@SidharthBansal
Copy link
Member Author

@jywarren

@jywarren
Copy link
Member

I'm interested but would like to brainstorm out how that would work!

@jywarren
Copy link
Member

One idea would be to make it embeddable? Or allow people to start a map from PL.org but still have a separate app?

@SidharthBansal
Copy link
Member Author

I am in favour of embedded like the chatroom is embedded on chat.publiclab.org
We can create a subdomain.
In case we want entire integration then this will result in creating all things in plots2. Benefit is plots2 is highly maintained over mapknitter. Also, we don't need to do Rails Upgrade, Bootstrap upgrade separate UI projects here.
But it will be really long as we have to copy and paste each MVC pattern with tests.

@jywarren
Copy link
Member

Let's continue thinking about this a bit, and discussing, without committing to a course of action yet. This will really only be possible after we make the export system external, as in #298, i think.

@jywarren
Copy link
Member

I'd like to also consider that if we separate the Exporter code, there is relatively much less code remaining in MapKnitter. I'm already starting to clean up and remove unused code. We could simplify and reduce the size of the MK codebase so that the rest of the upgrades are not too bad -- mostly handling image uploading. Then the idea of merging vs. integrating could be simpler.

@SidharthBansal
Copy link
Member Author

Agreed.
Can you please tell what Exporter code does in brief. I am new to MK.
Thanks

@jywarren
Copy link
Member

jywarren commented Jan 27, 2019 via email

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jan 27, 2019 via email

@jywarren jywarren changed the title Merge Mapknitter into plots2 Discussion: integrating or merging Mapknitter into plots2/PublicLab.org Jan 27, 2019
@jywarren
Copy link
Member

Also just to list out pros and cons to consider:

Pros

  • Better integration or merge would mean MK users would be better connected with and supported by the PL community
  • Less redundant systems like spam mgmt, bios, email notification?

Cons or issues to consider

  • Makes plots2 less a general purpose CMS and collaboration platform if it must include a lot of MK code (though not if we make some more generic type of integration?)
  • Makes MK less a simple single-purpose system

This all leads me to think that making MK more modular and from reusable pieces with some kind of standardized integration with PL might be better than just merging it in completely, but it bears more discussion and thought. Thanks!!!

@sagarpreet-chadha
Copy link
Contributor

I guess if we can integrate MK to plots2 using minimal lines of code , that would be ideal , so that we have modular and first-timer friendly code in both repos .

@jywarren
Copy link
Member

jywarren commented Feb 8, 2019

Some notes on this that relate to other parts of the system:

  • see if we can read roles from plots2 user records, ideally through a User.role call that somehow grabs the data from plots2
  • see if we can send email notifications using plots2 ? Or use commenting/notification system from there, to simplify MapKnitter? What are the pros/cons?

@SidharthBansal what do you think of these ideas?

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Feb 10, 2019 via email

@SidharthBansal
Copy link
Member Author

  • see if we can read roles from plots2 user records, ideally through a User.role call that somehow grabs the data from plots2

We can discuss this in #301

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

No branches or pull requests

4 participants