Skip to content

Commit

Permalink
Initial Work on v3
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsam726 committed Jul 26, 2023
1 parent 8a9ad28 commit 5027b90
Show file tree
Hide file tree
Showing 295 changed files with 1,058 additions and 16,006 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug Report
description: Report an Issue or Bug with the Package
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
We're sorry to hear you have a problem. Can you help us solve it by providing the following details.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: What did you expect to happen?
placeholder: I cannot currently do X thing because when I do, it breaks X thing.
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce the bug
description: How did this occur, please add any config values used and provide a set of reliable steps if possible.
placeholder: When I do X I see Y.
validations:
required: true
- type: input
id: package-version
attributes:
label: Package Version
description: What version of our Package are you running? Please be as specific as possible
placeholder: 2.0.0
validations:
required: true
- type: input
id: php-version
attributes:
label: PHP Version
description: What version of PHP are you running? Please be as specific as possible
placeholder: 8.2.0
validations:
required: true
- type: input
id: laravel-version
attributes:
label: Laravel Version
description: What version of Laravel are you running? Please be as specific as possible
placeholder: 9.0.0
validations:
required: true
- type: dropdown
id: operating-systems
attributes:
label: Which operating systems does with happen with?
description: You may select more than one.
multiple: true
options:
- macOS
- Windows
- Linux
- type: textarea
id: notes
attributes:
label: Notes
description: Use this field to provide any other notes that you feel might be relevant to the issue.
validations:
required: false
9 changes: 3 additions & 6 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/savannabits/filament-flatpickr/discussions/new?category=q-a
url: https://github.com/coolsam/filament-flatpickr/discussions/new?category=q-a
about: Ask the community for help
- name: Request a feature
url: https://github.com/savannabits/filament-flatpickr/discussions/new?category=ideas
url: https://github.com/coolsam/filament-flatpickr/discussions/new?category=ideas
about: Share ideas for new features
- name: Report a security issue
url: https://github.com/savannabits/filament-flatpickr/security/policy
url: https://github.com/coolsam/filament-flatpickr/security/policy
about: Learn how to notify us for sensitive bugs
- name: Report a bug
url: https://github.com/savannabits/filament-flatpickr/issues/new
about: Report a reproducable bug
8 changes: 7 additions & 1 deletion .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Fix PHP code style issues

on: [push]
on:
push:
paths:
- '**.php'

permissions:
contents: write

jobs:
php-code-styling:
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/pages.yml

This file was deleted.

16 changes: 10 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.1]
laravel: [9.*]
php: [8.2, 8.1]
laravel: [10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
carbon: ^2.63

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand All @@ -40,8 +41,11 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D

- name: Execute tests
run: vendor/bin/pest
run: vendor/bin/pest --ci
3 changes: 3 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [released]

permissions:
contents: write

jobs:
update:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea
.phpunit.result.cache
.phpunit.cache
build
composer.lock
coverage
Expand Down
57 changes: 0 additions & 57 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,3 @@
# Changelog

All notable changes to `filament-flatpickr` will be documented in this file.

## v1.1.0 - Support for Laravel 10 - 2023-04-08

### What's Changed

- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/savannabits/filament-flatpickr/pull/7
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/savannabits/filament-flatpickr/pull/8
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/savannabits/filament-flatpickr/pull/14
- Updated Dependencies to support Laravel 10 by @coolsam726 in https://github.com/savannabits/filament-flatpickr/pull/19
- Support Laravel 10 by @husam-tariq in https://github.com/savannabits/filament-flatpickr/pull/17

### New Contributors

- @dependabot made their first contribution in https://github.com/savannabits/filament-flatpickr/pull/7
- @husam-tariq made their first contribution in https://github.com/savannabits/filament-flatpickr/pull/17

**Full Changelog**: https://github.com/savannabits/filament-flatpickr/compare/v1.0.3...v1.1.0

## v1.0.3 - 2022-08-25

### What's Changed

- Update flatpickr.blade.php by @coolsam726 in https://github.com/savannabits/filament-flatpickr/pull/5

**Full Changelog**: https://github.com/savannabits/filament-flatpickr/compare/v1.0.2...v1.0.3

## v1.0.2 - 2022-08-11

### What's Changed

- Bug Fix: Datepicker not loading in action modals by @coolsam726 in https://github.com/savannabits/filament-flatpickr/pull/2

### New Contributors

- @coolsam726 made their first contribution in https://github.com/savannabits/filament-flatpickr/pull/2

**Full Changelog**: https://github.com/savannabits/filament-flatpickr/compare/v1.0.1...v1.0.2

## v1.0.1 - 2022-08-08

**Full Changelog**: https://github.com/savannabits/filament-flatpickr/compare/v1.0.0...v1.0.1

## v1.0.0 - 2022-08-08

v1.0.0
First Release. Features:

- Configure easily using fluent (chained) methods
- Supports an optional month Selector
- Supports an optional week selector
- Support for both light and dark modes
- Specify the theme (among the available themes) as a configuration
- Supports Range Selection mode
- Supports multiple date selection mode
- And many more features are coming...

**Full Changelog**: https://github.com/savannabits/filament-flatpickr/commits/v1.0.0
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) savannabits <[email protected]>
Copyright (c) coolsam <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 5027b90

Please sign in to comment.