Skip to content

Commit

Permalink
Update intro text in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erdem committed Jun 24, 2024
1 parent c551327 commit e725475
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ overall development experience.

The primary goal of Django Map Widgets is to bridge the gap between powerful GeoDjango functionality and user-friendly
map interactions, creating a more accessible and enjoyable experience for both developers and end-users of
GeoDjango-powered applications.
GeoDjango-powered applications. Currently, the package supports Google, Mapbox, and Leaflet mapping platforms.



Expand All @@ -28,7 +28,7 @@ GeoDjango-powered applications.
### Installation

```shell
pip install django-map-widgets
pip install django-map-widgets
```

Add ‘mapwidgets’ to your `INSTALLED_APPS` in settings.py
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ overall development experience.

The primary goal of Django Map Widgets is to bridge the gap between powerful GeoDjango functionality and user-friendly
map interactions, creating a more accessible and enjoyable experience for both developers and end-users of
GeoDjango-powered applications.
GeoDjango-powered applications. Currently, the package supports Google, Mapbox, and Leaflet mapping platforms.

.. image:: https://github.com/erdem/django-map-widgets/assets/1518272/f2df8654-b29a-4d64-9159-87a3790ede0b
:alt: Mapbox Interactive Widget
Expand Down
5 changes: 3 additions & 2 deletions docs/contribution/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ Map Widget Development Overview
Before beginning development, familiarize yourself with the current widget implementation approach. A typical widget consists of five main elements:

1. Django widget class implementation
2. Settings namespace
2. Settings namespace Key
3. jQuery class and CSS implementation (preferably minified)
4. Widget HTML template
5. Usage documentation

As a bonus, implementing tests for your widget is highly encouraged. For optimal performance, consider using ``uglifycss`` and ``uglifyjs`` Node.js packages to generate minified versions of your static files. See ``scripts.py`` file to how you can automate static files minification.
As a bonus, implementing tests for your widget is highly encouraged. For optimal performance, consider using ``uglifycss`` and ``uglifyjs`` Node.js packages to generate minified versions of your static files. See `scripts.py <https://github.com/erdem/django-map-widgets/blob/main/scripts.py>`_ file to how you can automate static files minification.

if you need hand with your contribution, feel free to open a thread on `GitHub Discussions <https://github.com/erdem/django-map-widgets/discussions>`_.

Setting Up the Development Environment
--------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ overall development experience.

The primary goal of Django Map Widgets is to bridge the gap between powerful GeoDjango functionality and user-friendly
map interactions, creating a more accessible and enjoyable experience for both developers and end-users of
GeoDjango-powered applications.
GeoDjango-powered applications. Currently, the package supports Google, Mapbox, and Leaflet mapping platforms.


* `Home Page <https://github.com/erdem/django-map-widgets/>`_
Expand Down
66 changes: 45 additions & 21 deletions docs/releases/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,68 +2,92 @@
Release Notes
=============

0.5.0
^^^^^

This release introduces significant changes and improvements to Django Map Widgets, including breaking changes to the settings structure and widget behaviour.

Key changes:

- Added Leaflet interactive widget support
- Added Mapbox static widget support
- Enhanced interactive widget UX for improved user experience
- Updated GoogleMap widget to address JS deprecation warnings and initialisation issues
- Resolved bugs in MapBox Interactive widget
- New settings structure introduced.
- Refreshed demo project to showcase all widget usages in Django 5.x
- Upgraded package to support Python 3.12
- Revised all documents.
- Added contribution guide documentation.
- Poetry package manager started being used for development purposes.
- Added `black` and `isort` integration.
- Removed outdated functional and unit tests
- Removed Travis integration
- Removed Docker Integration


0.4.2
^^^^^

- GooglePointFieldInlineWidget bug fixes for Django 4.2.x (#142), thanks for @isarota.
- Added `.readthedocs.yaml` to cover new **Read the Docs** updates.
- GooglePointFieldInlineWidget bug fixes for Django 4.2.x (#142), thanks for @isarota.
- Added `.readthedocs.yaml` to cover new **Read the Docs** updates.

0.4.1
^^^^^

- Added scroll wheel zooming functionality switch to Google Point Map Settings. (#134)
- Added Chinese(ZH) localisation support. (#133)
- Added scroll wheel zooming functionality switch to Google Point Map Settings. (#134)
- Added Chinese(ZH) localisation support. (#133)


0.4.0
^^^^^

- Supported MapBox Map for Geo Point Field
- Fixed javascript triggers undefined place object binding issue. (#125)
- Documented MapBox point field map widget
- Updated various localize files.
- Supported MapBox Map for Geo Point Field
- Fixed javascript triggers undefined place object binding issue. (#125)
- Documented MapBox point field map widget
- Updated various localize files.

0.3.3
^^^^^

- Replaced
- Replaced
`ugettext_lazy <https://github.com/erdem/django-map-widgets/pull/127>`__
usages with
`gettext_lazy <https://docs.djangoproject.com/en/4.0/releases/4.0/#features-removed-in-4-0>`__
for Django 4.0. (#127)
- Updated `Travis CI
- Updated `Travis CI
file <https://github.com/erdem/django-map-widgets/pull/129>`__.
(#129)

0.3.1
^^^^^

- Added
- Added
`streetViewControl <https://developers.google.com/maps/documentation/javascript/streetview#StreetViewMapUsage>`__
switch to GooglePointFieldWidget settings. (#124)

0.3.1
^^^^^

- Removed ``six`` package usages. (#117)
- Added a new general widget setting in order to specify Google JS
- Removed ``six`` package usages. (#117)
- Added a new general widget setting in order to specify Google JS
libraries. (#119)
- Implemented some improvements for the demo project.
- Implemented some improvements for the demo project.

0.3.0
^^^^^
- Implemented a new demo project with Django 2.x.
- Fixed Django Admin jQuery conflicts. (#100)
- Fixed a new widget JS instance initialising issue for Django Admin
- Implemented a new demo project with Django 2.x.
- Fixed Django Admin jQuery conflicts. (#100)
- Fixed a new widget JS instance initialising issue for Django Admin
Inlines. (#84)
- Added Python 3.8 env settings to TravisCI configuration.
- Added Python 3.8 env settings to TravisCI configuration.

0.2.3
^^^^^

- Fixed python ``six`` module import issue.
- Fixed PostGIS setup errors in CI pipeline.
- Added Estonian language support.
- Fixed python ``six`` module import issue.
- Fixed PostGIS setup errors in CI pipeline.
- Added Estonian language support.


0.2.0
Expand Down

0 comments on commit e725475

Please sign in to comment.