Giter Site home page Giter Site logo

cf-compendium's People

Contributors

llamapope avatar stmcallister avatar zoramite avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cf-compendium's Issues

AP Date Formatting

Component to assist in creating AP formatted dates and times.

Features:

  • Add periods to "am" and "pm" so they become "a.m." and "p.m."
  • Remove extraneous zeros when the time is at the top of the hour. "1:00 p.m." becomes "1 p.m."
  • Change "12:00 a.m." to "midnight" and "12:00 p.m." to "noon."
  • Correctly abbreviates months in the date to match AP Style rules. Those are: "Jan." "Feb." "March" "April" "May" "June" "July" "Aug." "Sept." "Oct." "Nov." "Dec."

Optional features:

  • If the post year is the same as the current year, you can set it to not print the year in the date output to adhere to AP Style rules.

See: http://wordpress.org/extend/plugins/ap-style-dates-and-times/

Automated Minification

Need to create an ANT task to create a minified css and js file for the cf-compendium files.

Datagrid needs i18n support

When working with datagrids need to have i18n support for the column headers, and formatting.

There should be a resource bundle for the column headings and for any meta information (ex: Sum, Total, Running Total, etc.) that is generic.

diff component for comparing differences

Create a diff component that can be used to show the differences between native complex types such as structs and arrays.

Should return a struct with two keys: old and new.

  • Exists in the old & not exists in the new: deleted item
  • Exists in the new & not exists in the old: new item
  • Exists in both old & new: value has changed

Active Filter Component

A component to work with active filters. The general idea is to be able to provide a filter and have the component generate the HTMl for the active filters (non-blank/non-empty) values along with links to remove the filter.

There may be some variability of where the filters are coming from. For example, the URL could be used to determine the value of the filters or a struct could be provided.

An optional argument would be to have a list of filters to be looked for, otherwise use all available variables in the URL/struct as filters. The list would double as an order. Otherwise alphabetical?

Similar to the idea of what newegg.com does when filtering.

Prevent Submit Event for Special Form Buttons

When a form has special buttons, such as for duplicating or removing a field, pressing enter when the field is in focus causes the action to trip the button submit/click action, not the regular form submission.

Bulk Image Components

Rethink through the image components and make them more friendly to bulk image work.

Also need to think about integration of image manipulation. For example, scaling and watermarking at the same time? Should it be separate or the same?

Should the components be in in charge of saving the changed images, or just returning them?

Rework the navigation components

Need to rework the components that deal with navigation. Need to build in a few more abilities:

Should utilize many of the same functions for both query based navigation and file based navigation
Internally store the navigation information in a query to use a common approach
File based navigation should be cached since it is static
Need to have the better paths for including files when needed

Convert URL component to use onMissingMethod

Need to convert the URL component to use the onMissingMethod so that the
function calls are different.

EX: theURL.set('location', 'var', 'val') => theURL.setLocation('var', 'val')

Cache Stub Component

Create a cache stub component for effectively turning off the caching without having to write two different versions of code.

Will stub out responses for not having anything in cache and ignoring all attempts to store things to the cache.

Anchor functionality on the url component

Need to add the ability to set anchors on links.

Example syntax:

Add an anchor (#top) to a redirect:

<cfset theURL.anchorRedirect('top') />

Remove the anchor from the redirect:

<cfset theURL.anchorRedirect() />

Url component with built in redirect

Instead of having to manually build the redirect using add a redirect function to the url component for redirecting automatically.

Takes one argument for passing tokens which defaults to false.

Write Unit Tests for the Validation Object

Need to write unit tests for all of the functions in the validation object. Should at least cover the basic valid and invalid argument cases.

Some functions are already covered just need to flush it out to cover all of the functions.

Allow For Attribute Specific Object Deserialization

For untrusted sources need to be able to specify a specific set of attributes that should be Deserialized. Currently the attributes to deserialize come from the input (trusted sources) or from the current object attributes (non-trusted sources).

This will add extra level of protection from injection attacks.

Form JavaScript Validation

On the form fields that have validation defined should have corresponding JS that will use the information to do client side validation of the information.

Should look the same as what the normally generated html, just without the time of having the page refresh. Should be done as a jQuery plugin.

Checkboxes on Datagrid

Allow for having a checkbox with the data grid for selecting the row for bulk actions.

Also have a header checkbox used for selecting all or none.

Add Release Notes to Plugin Architecture

Need to add into the architecture the ability to have release notes for the plugins. These can then be referred to by the user, but not publicly accessible.

Probably should be a machine readable file that can be parsed and formatted nicely.

Advanced Checkboxes on Datagrid

Support for advanced checkbox flow on the datagrid.

Support for:

  • checkbox shift select
  • x to select
  • current line marker
  • j and k line navigation

Example Viewer

Need to create a little viewer to see and view any of the examples.

Here are the original ideas for what it would do:

Present a nice starting page that shows a welcome message and has a tree view of all the example files.

When a user clicks on the example file from the tree it shows them the results of the example.

The page should be a nice, clean template and just include the example files when they are selected so they are template agnostic.

Also can expand out any examples and create new ones.

Extended Form: Autosuggest

Need to construct a form field type for handling auto-suggests. Should use the jQuery UI autosuggest.

Improve checkbox series with shift selection

Use jQuery to implement a shift + check method of selecting multiple checkboxes in a series.

For instance if there where 10 checkboxes and a user clicks on the 2nd checkbox then holds down shift and clicks the 7th checkbox it would also check all in between the 2nd and the 7th.

Trigger using the checkboxShiftSelect class?

Add Version Checking to Plugin Architecture

Ability to set an address to look for the latest version information about a plugin. This would allow a for an automated system to be built that would check for updates to the plugin and notify the administrator when new versions are available.

Serialization/Deserialization component types

When serializing objects add in a key for the component definition as __component.

When an object is deserializing it can use the __component key to determine if an object should be created and deserialized in the place of a regular structure.

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.