-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Wiki index ordering #5317
Comments
Hey @gauravano . Need help with this? Would love to take it up |
That would be great @GettyOrawo! |
😄 Alright, on it. I'll update on my progress, |
@gauravano , there is something wrong with the ordering of notes and wikis as pointed out. Could this be related somehow ? since i see the same approach in code for sorting notes and wikis accordingly. |
@ananyaarun thanks! From the referenced issues, those were mostly targeting the notes section, specifically code in the Yes the approach could be the same though when it comes to the sorting bug. |
Then @gauravano I was wondering for the design being enhanced a little, do we actually need the wiki url besides the wiki title yet when you click on the wiki title it takes you to the same url.. maybe we could do away with the url column which will in turn create enough room for the other column titles not to spill to the next line. What do you think? like this.. |
I think this is a good idea!!
…On Mon, Apr 1, 2019 at 4:38 AM GettyOrawo ***@***.***> wrote:
Then @gauravano <https://github.com/gauravano> I was wondering for the
design being enhanced a little, do we actually need the wiki url besides
the wiki title yet when you click on the wiki title it takes you to the
same url.. maybe we could do away with the url column which will in turn
create enough room for the other column titles not to spill to the next
line. What do you think?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5317 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJwIatwg4SdAmPb3Z14KFiJX0m-X9ks5vccVcgaJpZM4cUL3Y>
.
|
It's interesting that the project uses Drupal. What is the main reason for this @jywarren or @gauravano ? I personally haven't worked with Drupal before. |
The PR is up would love your reviews. Thanks. #5326 🎉 |
@GettyOrawo I don't have a lot of context on the Drupal choice, however the README says:
So this was originally a Drupal project, and the DB schema was kept when it was rewritten in Rails. AFAIK there's no more Drupal code around (which makes sense, since it's PHP, and probably hard to run in parallel to Ruby). |
Thanks, i'll check out these PRs today! Sorry to be slow!
Regarding Drupal, yes, there are just a few leftover traces of Drupal in
our database table names and a few other bits and pieces. We're still
working to remove and simplify them all! We have an overall planning issue
for this here: #956
And a couple individual projects towards this goal here and here:
#4074,
#76
We'd love help with those too! Thanks all!
…On Tue, Apr 2, 2019 at 3:23 AM GettyOrawo ***@***.***> wrote:
It's interesting that the project uses Drupal. What is the main reason for
this @jywarren <https://github.com/jywarren> or @gauravano
<https://github.com/gauravano> ? I personally haven't worked with Drupal
before.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5317 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ-uHam1F28neqlwALS_ZTI8n6nC6ks5vcwVsgaJpZM4cUL3Y>
.
|
oh yes, makes sense now.. Thank you. |
Our wiki page (https://publiclab.org/wiki) has various sorting options but not all of them work well. So, we need help with fixing this page.
Also, I think we can do some fix to the design of the page too, not major changes but some minor fixes like controlling width. etc so the column headings don
t take another row.
Only edits and likes sorting is working fine and other options need to be fixed.
Here's the controller method: https://github.com/publiclab/plots2/blob/master/app/controllers/wiki_controller.rb#L299-L324
And, here the view file: https://github.com/publiclab/plots2/blob/master/app/views/wiki/index.html.erb
The text was updated successfully, but these errors were encountered: