Giter VIP home page Giter VIP logo

compass's People

Contributors

rishijavia avatar thatbudakguy avatar

Watchers

 avatar  avatar

Forkers

rishijavia

compass's Issues

Uncaught error: rails-ujs has already been loaded!

actions (sms, email, metadata, etc) throw Uncaught Error: rails-ujs has already been loaded! in the js console. when clicked a second time, they will bring up the modal, but the content of it is weirdly truncated.

fix: pin blacklight to =6.11.0

Fix asset compilation

Need to remove rake assets:precompile from the Dockerfile because it's causing automated builds to fail...looks like running rake is looking for idp_cert which we don't keep in the repo

Allow updating of layers

depends on #34

  • create new /solr_documents/layer_name/update route
  • create new update view with form
  • ensure that only admins can access update view
  • add updateLayer method to SolrUpdateController
  • write tests

Add featured collections/maps to homepage

From Mark:

First Priority:
Make link to Lewis & Clark collections prominent on page

Second Priority:
A set of direct links to Lewis & Clark Collections (to be adjusted over time):

  • Historic Portland Maps (Google Earth KMZ)
  • ENVS 220 Resource Collections (RLIS, ACCF, PATS, TRI) [maybe these should be reorganized]
  • Lewis & Clark Expedition

Change homepage display text

config/locales/geoblacklight.en.yml

en:
  geoblacklight:
    home:
      headline: 'Find maps and data'
      search_heading: 'Get started here'
      category_heading: 'Browse by category'
      map_heading: 'Browse by location'

Setup custom LC styles

in app/assets/stylesheets

application.css.scss:

@import 'blacklight';
@import 'geoblacklight';
@import 'lclark';

blacklight.scss:

@import 'bootstrap-variables';
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'blacklight/blacklight';

bootstrap-variables.scss:

$brand-primary: #e66b3f;

geoblacklight.scss:

@import 'geoblacklight/application';

lclark.scss:

@import 'modules/*';

in app/assets/stylesheets/modules (where new partials will go)

_header.scss:

// Add a custom logo to the header

#header-navbar {
  .navbar-brand {
    // background: 
  }
}

_icon.scss:

// Color L&C's icon and adjust its position

.geoblacklight-lewis-clark {
  &::before {
    color: $brand-primary;
    margin-right: -3px;
    padding-left: 3px;
  }
}
// Remove default coloration from Stanford's

.geoblacklight-stanford {
  &::before {
    color: $gray-light;
  }
}

Set institution-specific configs

config/settings.yml

# Institution deployed at
INSTITUTION: 'Lewis & Clark'

config/locales/blacklight.en.yml

en:
  blacklight:
    application_name: 'geo.lclark'

Allow deletion of layers

depends on #32 and #33

  • create controller
  • create /solr_documents/layer_name/delete route
  • create deleteLayer method
  • write tests

Setup automated deployments

We could use a webhook from Docker Hub to potentially do this.

One way is maybe to trigger an update on Rancher (something like: curl http://watzek.cloud:8080/v2-beta/services/1s30/?action=update).

Add "submit" link to header

NYU does this in their header. We can use an envvar to allow this to be set from outside the container and point it at another omeka container.

Allow creation of layers

n.b. should look at geoCombine gem to check out its upload code/rsolr

  • add new link to navbar to creation form
  • make sure link only displays for admins
  • add new view with creation form
  • add createLayer method to SolrUpdateController
  • write tests

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.