Giter VIP home page Giter VIP logo

Comments (7)

SuaYoo avatar SuaYoo commented on May 27, 2024 1

Thoughts on adding a name field to easily label and differentiate configs?

from browsertrix.

ikreymer avatar ikreymer commented on May 27, 2024 1

Thoughts on adding a name field to easily label and differentiate configs?

Yes, definitely a good idea. Just free-form text that can be searched by, right?

from browsertrix.

SuaYoo avatar SuaYoo commented on May 27, 2024 1

@ikreymer initial pass at mockup: https://app.mockplus.com/run/rp/TgN5xi_FPJvV/2DkJibt0vw?cps=expand&rps=expand&nav=1&ha=1&la=1&fc=0&out=0&rt=1

q's:

  1. what are sane defaults for all these fields? I'll update the mockup to reflect default values.
  2. can you go into more detail as to how scope type and page limit should apply to the URLs? Should the term seed be user facing? or should the UI display seeds as something like "URL group"/"Page groups"?
  3. should the JSON configuration represent the whole config/template, or just the nested .config object? IMO the former is more user-friendly if we expect users to download JSON configs and then upload or copy-paste them in the future

from browsertrix.

ikreymer avatar ikreymer commented on May 27, 2024 1

Simplified config for now, just send URL list for seeds, everything else moved to outer scope, eg.

{
  "schedule": null,
  "runNow": true,
  "config": {
    "seeds": [
      "https://webrecorder.net/"
    ],
    "scopeType": "prefix"
  },
  "name": "Example Name",
  "colls": [],
  "crawlTimeout": "0",
  "parallel": 1
}

from browsertrix.

SuaYoo avatar SuaYoo commented on May 27, 2024

per discussion on call:

  1. change default to "run instantly" and schedule to "weekly", @ikreymer to document other defaults
  2. seed URL is user-facing term (TODO link glossary), group seed configs in UI
  3. render whole JSON object

from browsertrix.

SuaYoo avatar SuaYoo commented on May 27, 2024

@ikreymer minor issue with the POST crawlconfigs endpoint: leaving out the trailing / throws a Method Not Allowed error on the server

from browsertrix.

ikreymer avatar ikreymer commented on May 27, 2024

All done!
Crawl scaling and tags to be separate issues.

from browsertrix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.