3 रिपॉजिटरी
Ordering UI elements based on the values of their associated data attributes.
Distinct from Criteria-Based Range Sorting: Candidates are mathematical or database-specific sorts; this is UI sorting based on element attributes.
Explore 3 awesome GitHub repositories matching user interface & experience · Attribute-Based Sorting. Refine with filters or upvote what's useful.
Ransack is an object-based search library for Active Record models that provides a form-driven framework for building database queries. It generates query conditions from user input through a configurable predicate system, allowing developers to filter records using simple or advanced criteria without writing SQL or relying on external dependencies. The library distinguishes itself through its predicate-based query construction, where search methods are dynamically generated from model attribute names and predicate suffixes at runtime. It wraps search parameters into a dedicated form object t
Implements sorting as named scopes that translate sort parameters into ordered SQL clauses.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Generates comparison methods (eq, ne, lt, etc.) based on declared attributes with customization.
Mixitup is a dependency-free DOM element animation library and grid layout engine. It serves as a client-side content filter and data-driven UI controller designed to manage the smooth visual transition of HTML elements during insertion, removal, and sorting operations. The system specializes in creating interactive gallery interfaces and dynamic content filtering. It allows for the reorganization of elements using custom attributes or random sequences, while synchronizing the arrangement and visibility of interface elements with an underlying data model. Beyond filtering and sorting, the li
Rearranges targets based on data-attributes, predefined sort strings, or custom arrays.