Giter Club home page Giter Club logo

Comments (8)

PhantomWatson avatar PhantomWatson commented on June 24, 2024
  • Event form
    • "remove" buttons appear below input fields instead of beside them
    • "submit" button needs Bootstrap classes added
  • Mailing list signup page
    • The "all events" option for "event types" is no longer selected by default
    • Checkboxes for event types aren't selected by default
    • Under "frequency", the weekly/daily options are missing and only the "custom" option is shown
  • Other
    • A successful login doesn't redirect to home page, but just loads the login page again
    • The ME icon in the logo needs cursor: pointer
    • New JavaScript error: Lines like muncieEvents.populatedDates['11-2009'] = [01,06,08,15,22,25,27,29]; generate errors for numbers that start with zero. This could be adapted to remove the leading zeros, or these values could be changed to strings.
    • In image_manager.js, on line 242 (url: '/images/user_images/'+ImageManager.user_id,), something's not setting ImageManager.user_id and the URL ends up being .../null
    • /general (and other category pages) is showing events from all categories
    • I recommend copying code from https://github.com/BallStateCBER/datacenter-plugin-cakephp3/blob/master/src/Template/Element/pagination.ctp to update the pagination element.
    • In /tag/... pages, the words "upcoming" and "past" are no longer capitalized
    • On /tags, the category icons need cursor: pointer

from muncie-events3.

ericadeefox avatar ericadeefox commented on June 24, 2024

"remove" buttons appear below input fields instead of beside them

This is how it is in the 2.x version now too. Should I change the both of them?

from muncie-events3.

PhantomWatson avatar PhantomWatson commented on June 24, 2024

I'm only seeing that issue in the CakePHP 3 version:
image

The CakePHP 2 version looks correct:
image

from muncie-events3.

ericadeefox avatar ericadeefox commented on June 24, 2024

I recommend copying code from https://github.com/BallStateCBER/datacenter-plugin-cakephp3/blob/master/src/Template/Element/pagination.ctp to update the pagination element.

It wouldn't match the 2.x version if I did that, though. The current pagination element I've got uses Bootstrap pagination elements and is similar in design to the one I made for the 2.x version.

from muncie-events3.

ericadeefox avatar ericadeefox commented on June 24, 2024

New JavaScript error: Lines like muncieEvents.populatedDates['11-2009'] = [01,06,08,15,22,25,27,29]; generate errors for numbers that start with zero. This could be adapted to remove the leading zeros, or these values could be changed to strings.

Do you have an example of the error? Because there's no error like this on my end, nothing in the console etc. So I'm lost.

from muncie-events3.

ericadeefox avatar ericadeefox commented on June 24, 2024

Under "frequency", the weekly/daily options are missing and only the "custom" option is shown

This, I did on purpose to sort of downsize the form, so if someone wants an email every day then they can check every checkbox, or just the ones they'd like depending on the day, or if they'd like it weekly they can do that too.

from muncie-events3.

PhantomWatson avatar PhantomWatson commented on June 24, 2024

SyntaxError: 08 is not a legal ECMA-262 octal constant

A quick way to fix the problem would be in AppController::beforeRender(), changing the line

$populated["$month-$year"][] = $day;

to

$populated["$month-$year"][] = "'$day'";

But the better solution is probably to change this line in links_primary.ctp:

"muncieEvents.populatedDates['$monthYear'] = [".implode(',', $days)."];"

to

"muncieEvents.populatedDates = " . json_encode($populated) . ";"

from muncie-events3.

ericadeefox avatar ericadeefox commented on June 24, 2024

^Done. I wonder why I never got the error message.

from muncie-events3.

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.