-
Notifications
You must be signed in to change notification settings - Fork 130
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
Added At.js support (removed Horsey and Banksy) #239
Conversation
you seem to have committed |
0628de2
to
70c02df
Compare
@geekychaser Good call. 👍 @jywarren Do we need Lines 16 to 19 in 1584378
Lines 5 to 8 in 1584378
|
@publiclab/reviewers |
Whoa certainly don't need webgl-distort, good catch! I'd be happy to accept a change to the repository properties. Is this one of the libs where we are using Bower still or should we be deprecating it for a pure npm package.json approach? This is looking great! Do I see a bit of delay in the autosuggestion popping up? I'm guessing it's local and static in the example, any idea why that might be slow? I'd like to potentially remove the "suggestions" line to keep it simple. Is that ok? Thanks!!! Very cool! |
Hi @jywarren! Hope you're doing well. I have removed I did think of using npm for this, since bower has been deprecated, but the README suggested using As for the delay, other than my network being a bit slow at the time of recording this, was due to the large number of users (300k+, as you mentioned here) currently in our database which hinders the API response time and also increased the " My issue (response difference between @ and #): publiclab/plots2#4670 |
Ah ok this is great, I didn't realize you were testing against the full
database, but that makes sense and we can approach this through API
optimization.
I did want to ask if you'd come across ideas for timing optimization of
requests - either limiting the rate or starting only after 3 chars are
entered and/or "denounce" strategies... We've recently been trying to
consolidate issues related to this in plots2.
I can probably review the Bower changes later today if I have a chance
(traveling!). I admit I am not remembering what the default is for the
editor library but I'd like to do as we've done with other included libs.
Thanks!
…On Mon, Jan 21, 2019, 8:02 PM Pranshu Srivastava ***@***.*** wrote:
Hi @jywarren <https://github.com/jywarren>! Hope you're doing well. I
have removed webgl-distort from bower.json, and the Suggestions heading
from both "@" callouts and "#" hashtags as well.
I did think of using npm for this, since bower has been deprecated
<https://snyk.io/blog/bower-is-dead>, but the README
<https://github.com/ichord/At.js/blob/master/README.md> suggested using
Component or Bower to install At.js and the underlying Caret.js, maybe
because the package isn't maintained anymore. If you're interested, I can
try doing a npm implementation for this and verify it on my local in a pure
npm approach and let you know.
As for the delay, other than my network being a bit slow at the time of
recording this, was due to the large number of users (300k+, as you
mentioned here <publiclab/plots2#3147>)
currently in our database which hinders the API response time and also
increased the ***@***.***" fetch time in the above example (as it occurs
on a high speed connection too, and I have doubly checked this). This
normally does not happen for hashtags, since the notes are pretty low in
number right now, so a GET request gets through pretty fast, but this can
be fatal for the response time as the number of notes increase in the near
future. The same goes for other resources as well. Please refer to my issue
below for a better (visual) explaination, and @milaaraujo
<https://github.com/milaaraujo>'s issue that rounds up all the similar
issues and resources related to the slow API problem.
*My issue (response difference between @ and #)*: publiclab/plots2#4670
<publiclab/plots2#4670>
***@***.*** <https://github.com/milaaraujo>'s issue*:
publiclab/plots2#4561 <publiclab/plots2#4561>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#239 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ5oEMEjGlXi31ekM8uzT03rRntiLks5vFkbkgaJpZM4aIum7>
.
|
Ok, yes I think we had better use npm here, I'm sorry to say. In general we've been phasing out Bower slowly on all repositories. Thanks @rexagod! Also I see a lot of small formatting changes like double/single quotation marks. Was that just tidying up? Thanks! |
@jywarren Shifted to NPM. Also, the small formatting changes were due to Prettier, it stresses on using the double quotes for some reason. |
@jywarren @gauravano Can we merge this now? |
Fantastic work @rexagod !!! Shall we bump the version number by a |
Definitely @jywarren! I think we can surely introduce a minor version bump at this point, thanks! |
Fixes #225, #44
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
grunt jasmine
fixes #0000
-style reference to original issue #@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.
Thanks!